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 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:

  • Introduction to the C# language and the .NET Framework

    Provides an overview of the C# language and .NET.

  • Create a C# Hello World application with .NET Core in Visual Studio

    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.

  • Create a class library with C# and .NET Standard in Visual Studio

    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.

  • Get started with C# and Visual Studio Code

    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.

  • C# Programming Guide

    Provides information about C# programming concepts, and describes how to perform various tasks in C#.

  • C# Reference

    Provides detailed reference information about C# keywords, operators, preprocessor directives, compiler options, and compiler errors and warnings.

  • Walkthroughs

    Provides links to programming walkthroughs that use C# and a brief description of each walkthrough.

See also