Learn to code C#
👋 Hi friends! Learning to code can be intimidating. We're here to help.
Get certified
Showcase your C# knowledge with the new Foundational C# Certification, made in partnership with freeCodeCamp. The certification is comprehensive, globally accessible, and, most importantly, free, ensuring that learners everywhere can benefit from a robust C# training on Microsoft Learn.
The certification includes a full C# training course.
Get the tools
Code with C# using professional developer tools that help you write precise, accurate, and maintainable code the first time. We recommend downloading Visual Studio Code with the C# Dev Kit extension to get started.
You can also use other tools including Visual Studio (a powerful IDE), command-line tools, and more.
C# at your own pace
If you love working with Notebooks, you can learn C# with a series of quick lessons that will take you through the language fundamentals.
Before getting started, make sure you download the developer tools mentioned above.
Explore the first C# 101 Notebook
To see all lessons, visit the .NET Interactive Notebooks for C# repository on GitHub.
Interactive online lessons
Microsoft Learn is where everyone comes to learn. Discover new skills, find certifications, and advance your career in minutes with interactive, hands-on learning paths.
Learn how to build apps for web, mobile, cloud, desktop, and more for free.
Let's learn together
Love to watch videos? So do we. We've recorded hundreds of beginner videos to guide you through building your first .NET apps with open source C#.
An open, vibrant community
C# is part of .NET, a free and open source development platform for building apps that run on Windows, macOS, Linux, iOS, and Android. There's an active community answering questions, producing samples, writing tutorials, authoring books, and more.
Become part of our community of over 5 million .NET developers from hundreds of thousands of companies around the globe.
Join a user group, Discord channel, browse blogs, tune into live streams, and more.
Get a job in the industry
Chipotle, Stack Overflow, UPS, Alaska Airlines, Tencent, and the BBC are just some of the many companies using .NET.
Companies worldwide use .NET to power their business across a vast array of industries including media, finance, healthcare, gaming, and more.
More free stuff for you
Azure
Start building the future with Azure for Students! Get a $100 credit when you create your free Azure for Students account.
GitHub
GitHub Education helps students, teachers, and schools access the tools and events they need to shape the next generation of software development.
Visual Studio
Get started for free with Visual Studio developer tools and resources for students. Check out how you can build great apps, games, and services.
Made it this far, but not ready to install?
Our in-browser tutorial will get you started learning C# today. No install needed.