Get started with C#
This section provides short, simple tutorials that let you quickly build an application using C# and .NET Core. There are getting started topics for Visual Studio 2017 and Visual Studio Code. These articles assume some programming experience. If you are new to programming, try our introduction to C# interactive tutorials.
The following topics are available:
Provides an overview of the C# language and .NET.
Visual Studio lets you code, compile, run, debug, profile, and publish your applications from an integrated development environment for Windows or Mac.
The topic lets you create and run a simple Hello World application and then modify it to run a slightly more interactive Hello World application. Once you've finished building and running your application, you can also learn how to debug it and how to publish it so that it can be run on any platform supported by .NET Core.
A class library lets you define types and type members that can be called from another application. This topic lets you create a class library with a single method that determines whether a string begins with an uppercase character. Once you've finished building the library, you can develop a unit test to ensure that it works as expected, and then you can make it available to applications that want to consume it.
Visual Studio Code is a free code editor optimized for building and debugging modern web and cloud applications. It supports IntelliSense and is available for Linux, macOS, and Windows.
This topic shows you how to create and run a simple Hello World application with Visual Studio Code and .NET Core.
Provides information about C# programming concepts, and describes how to perform various tasks in C#.
Provides detailed reference information about C# keywords, operators, preprocessor directives, compiler options, and compiler errors and warnings.
Provides links to programming walkthroughs that use C# and a brief description of each walkthrough.