Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
6 results in CLR User Education team [Clear]
CLR User Education team - Microsoft
The Format Utility (Formatter.exe) is a Windows Forms application that allows you to apply standard or custom format strings to either numeric values or date and time values and to determine how they affect the result string.
3.4 Star
(8)
Updated 3/11/2012
Released 3/9/2012
24,023 Downloads
CLR User Education team - Microsoft
The .NET Framework 4.5 is a redistributable runtime. If you develop applications for the .NET Framework 4.5, you can include (chain) .NET Framework setup as a prerequisite component in your application's setup.
5 Star
(2)
Updated 8/21/2012
Released 10/24/2011
3,932 Downloads
C++
CLR User Education team - Microsoft
The sample is a Windows Forms application that, at its most simple level, wraps a call to the GetWeekOfYear method of a designated calendar class to display the week ranges of a particular year.
5 Star
(1)
Updated 6/27/2012
Released 3/11/2012
5,341 Downloads
CLR User Education team
The Cyrillic to Roman Transliteration Utility is a command-line utility that transliterates modern Cyrillic characters to the Roman character set and illustrates the .NET Framework's support for a custom encoder fallback strategy using replacement fallback.
5 Star
(1)
Updated 6/28/2012
Released 6/28/2012
1,817 Downloads
CLR User Education team - Microsoft
The Base64 Converter (Base64Converter.exe) converts a file's contents using Base64 encoding in a single operation or in a stream. The encoded string is written to a new file.
5 Star
(1)
Updated 6/27/2012
Released 3/12/2012
2,768 Downloads
CLR User Education team - Microsoft
If you develop applications for the .NET Framework 4, you can include (chain) .NET Framework setup as a prerequisite component in the setup of your application. You may also want to silently launch .NET Framework setup and track its progress. This sample shows you how.
No Star
(0)
Updated 10/26/2011
Released 10/26/2011
1,750 Downloads
C++

Couldn't find the sample you were looking for?