Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English Edit

Share via

Facebook x.com LinkedIn Email

C# documentation

Learn how to write any application using the C# programming language.

Choose your path

Get started

  • New to programming? Start with beginner tutorials
  • In-browser tutorial: Hello world
  • C# beginner video series

Overview

  • Experienced developer? A tour of C#
  • Learn C# for Java developers
  • Learn C# for JavaScript developers
  • Learn C# for Python developers

Training

  • Foundational C# Certification
  • What you can build with C#

Fundamentals

Overview

  • A tour of C#
  • Inside a C# program
  • C# highlights video series
  • C# language strategy

Concept

  • Type system
  • Object oriented programming
  • Functional techniques
  • Exceptions
  • Coding style

Tutorial

  • Build file-based apps
  • Intro to classes
  • Object oriented C#
  • Converting types
  • Pattern matching
  • Use LINQ to query data

What's new

What's new

  • What's new in C# 14
  • What's new in C# 13
  • What's new in C# 12

Tutorial

  • Explore record types
  • Explore top level statements

Reference

  • Breaking changes in the C# compiler
  • Version compatibility

Key concepts

Overview

  • What you can build with C#
  • C# language strategy
  • Programming concepts

Concept

  • Language Integrated Query (LINQ)
  • Asynchronous programming

Training

  • Learn C# for Java developers
  • Learn C# for JavaScript developers
  • Learn C# for Python developers

C# language reference

Reference

  • Language reference
  • Keywords
  • Operators and expressions
  • Tokens

Stay in touch

Reference

  • C# on Q&A
  • .NET developer community
  • C# on Stack Overflow
  • C# on Discord
  • YouTube
en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2026