C#

C# is a modern, object-oriented programming language created by Microsoft. It runs on the .NET platform and is widely used for desktop apps, web services, games (Unity), and mobile development.

C#

C# (pronounced 'C-sharp') is statically typed and compiled, which means types are checked before the program runs, helping catch mistakes early. It borrows familiar curly-brace syntax from C and Java.

Every C# program is organized into classes, and as of recent versions you can write a simple program with just a single statement thanks to top-level statements.

Examples

C#

using System;

Console.WriteLine("Hello, C#!");

Output:

Hello, C#!

Learn it in a lesson

See also

Back to the Dictionary