C#

The modern, innovative, open-source programming language for building all your apps.

Get started

This page doesn't work on Internet Explorer. We recommend you try the newMicrosoft Edge browser.

Why C#

C# is amodern,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 includingtype safety,generics,pattern matching,async,records, and more.

We hope you'll fall in love with C# from the very first keystroke.

Productive developer environment

Build your apps faster with world-class developer tools that help you writeprecise,accurate, andmaintainable code the first time.

Use a wide variety of tools that fit your development style available on every platform including Visual Studio Code (an advanced code editor), Visual Studio (a powerful IDE), command-line tools, and other popular tools.

Learn about tools for C#

Loved by developers, trusted by enterprise

C# is one of thetop 5 languages used by projects onGitHub and is consistently one of themost loved languages onStack Overflow's developer survey.

Hundreds of thousands of companies worldwide use C# to power their business across a vast array of industries including media, finance, healthcare, gaming, and more.

Explore customer stories

An open, vibrant community

Become part of our community of over5 million developers for you to get support and learn from onStack Overflow,Microsoft Q&A,.NET Live TV,YouTube, and more.

C# is open source on GitHub. Get involved and join the developers and companies already contributing to it.

Join the .NET community

Build anything with C#

C# is the most popular language for .NET development. With .NET you can target any application type running on any platform. Reuse your skills, code, and favorite libraries across all of them in a familiar environment. That means you can build apps faster, with less cost.

From mobile applications running on iOS and Android, to enterprise server applications running on Windows Server and Linux, or high-scale microservices running in the cloud, .NET provides a solution for you.

Learn about the .NET platform

Learn C# with developers

Explore the concepts and syntax of the C# programming language with live coding demos in our C# for Beginners video series.

Once you learn the basics, explore other lessons at the.NET videos page where you can learn to build any type of app with C#.

Browse all lessons

In the TechEmpower benchmarks, ASP.NET Core minimal APIs processed 2.05 million JSON responses per second (RPS), Node.js processed 224K, and Java Servlet processed 328K.

Data sourced from official tests available atTechEmpower Round 23.

Performance where it matters

.NET is fast. Really fast! That means applications provide better response times and require less compute power.

The popularTechEmpower benchmark compares web application frameworks with tasks like JSON serialization, database access, and server side template rendering - .NET performs faster than any other popular framework.

Ready to get started?

Our step-by-step tutorial will get you started writing your first C# program today.

Get started

Follow us