text
stringlengths
0
13.4k
2015-11-17
2016-08-02
2017-04-05
4.7.1
2017-10-17
Compact Framework
Version Release Date
1.0
2000-01-01
2.0
3.5
3.7
3.9
2005-10-01
2007-11-19
2009-01-01
2013-06-01
Micro Framework
Version Release Date
4.2
2011-10-04
4.3
4.4
2012-12-04
2015-10-20
Section 1.1: Hello World in C#
using System;
class Program
{
// The Main() function is the first function to be executed in a program
static void Main()
{
// Write the string "Hello World to the standard out
Console.WriteLine("Hello World");
}
}
Console.WriteLine has several overloads. In this case, the string "Hello World" is the parameter, and it will output
the "Hello World" to the standard out stream during execution. Other overloads may call the .ToString of the
GoalKicker.com – .NET Framework Notes for Professionals
2
argument before writing to the stream. See the .NET Framework Documentation for more information.
Live Demo in Action at .NET Fiddle
Introduction to C#
Section 1.2: Hello World in F#
open System
[<EntryPoint>]
let main argv =
printfn "Hello World"
0
Live Demo in Action at .NET Fiddle
Introduction to F#
Section 1.3: Hello World in Visual Basic .NET
Imports System
Module Program
Public Sub Main()
Console.WriteLine("Hello World")
End Sub
End Module
Live Demo in Action at .NET Fiddle