Languages

You can write your .NET apps in C#, F#, or Visual Basic.

C#

C# (pronounced "C sharp") is a simple, modern, object-oriented, and type-safe programming language.

Its roots in the C family of languages makes C# immediately familiar to C, C++, Java, and JavaScript programmers.

Read C# Guide

Console

F#

F# (pronounced "F sharp") is a cross-platform, open-source, functional programming language for .NET. It also includes object-oriented and imperative programming.

Read F# Guide

let numbers = [ 1; 2; 3; 4; 5; 6; 7; 8; 9; 10 ]

let square x = x * x
let isOdd x = x % 2 <> 0

let squaresOfOdds = 
    numbers
    |> List.filter isOdd
    |> List.map square

printfn "%A" squaresOfOdds

Visual Basic

Visual Basic is an approachable language with a simple syntax for building type-safe, object-oriented apps.

Read Visual Basic Guide

Dim names As New List(Of String)({
    "Ana",
    "Felipe",
    "Emillia"
})

For Each name In names
    Console.WriteLine($"Hello {name}")
Next

Ready to Get Started?

Our step-by-step tutorial will help you get .NET running on your computer.

Supported on Windows, Linux, and macOS

Get Started