The modern, innovative, open-source programming language for building all your apps.
C# is a modern, innovative, open-source, cross-platform object-oriented programming language and one of the top 5 programming languages on GitHub.
Do you have experience with JavaScript, Java, or C++? You’ll find C# instantly familiar, and you’ll enjoy its evolving features including type safety, generics, pattern matching, async, records, and more.
C# documentation
Learn how to write any application using the C# programming language on the .NET platform.
Learn to program in C#
GET STARTED
VIDEO
TUTORIAL
REFERENCE
C# fundamentals
OVERVIEW
CONCEPT
TUTORIAL
- Display command-line
- Intro to classes
- Object oriented C#
- Converting types
- Pattern matching
- Use LINQ to query data
Key concepts
OVERVIEW
QUICKSTART
CONCEPT
- Nullable reference types
- Nullable reference migrations
- Resolve nullable warnings
- Language Integrated Query (LINQ)
- Versioning
What’s new
WHAT’S NEW
TUTORIAL
- Explore record types
- Explore top level statements
- Explore new patterns
- Safely update interfaces
- Create mixins with interfaces
- Explore indexes and ranges
- Nullable reference types
- Explore async streams
- Write a custom string interpolation handler