Lesson 1 +10 XP

What is C#?

What is C#?

C# (pronounced C-sharp) is a modern, object-oriented programming language created by Microsoft. It was designed by Anders Hejlsberg and first released in 2000.

Runs on the .NET platform

C# is the main language of .NET, a free framework that provides everything you need to build and run apps - from the runtime that executes your code to huge libraries of ready-made features.

What can C# do?

  • Build web apps and APIs (with ASP.NET Core)
  • Create Windows desktop apps (WPF, WinForms)
  • Write mobile apps (with .NET MAUI)
  • Make games - it's the language of Unity
  • Power cloud services and back-end servers

Object-oriented from day one

C# is built around objects: bundles of data and the code that works with that data. It supports the big OOP ideas - inheritance, polymorphism, interfaces, and more - natively.

A general-purpose language

C# is general-purpose: you use the same language for a tiny console tool or a huge enterprise system. It's strongly typed, so the compiler catches many mistakes before your code even runs.

TL;DR

  • C# is Microsoft's object-oriented language, created in 2000.
  • It runs on the .NET platform.
  • Used for web, desktop, mobile, games (Unity), and cloud apps.
  • It is strongly typed - the compiler catches many errors early.