Go Off-Platform with C#Learn how to set up a local development environment and run C# code on your own computer! This article covers downloading, installing, and using Microsoft Visual Studio for MacOS, Windows, and Linux.
By the end of this article you will be able to run a C# console application on your own computer!
C#, like any programming language, is a way to communicate with your computer: giving it commands to print things to a console, lay out a website, run a video game, etc. At this point we assume you’ve seen a C# console application in the Codecademy learning environment. If you haven’t, take the first lesson.
To use C#, we need to teach your computer how to understand the language. We do this by downloading some free software.
There are multiple options, but we recommend downloading Microsoft Visual Studio. This app helps you write, debug, and run C# code. It is maintained by the same company that first developed the C# language and it’s very popular amongst C# developers. In a 2017 survey of over 5,000 people, the software company JetBrains found that 92% of C# developers use Visual Studio to write and run C# code on their own computers.
Everyone’s computer system, sometimes called a local development environment, is different. That means that everyone’s setup process will be different as well. We’ve included videos and documentation that describe the process for MacOS, Windows, and Linux. Take your pick and happy coding!