C# Tutorial

C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft.

This tutorial will introduce you to basic C# programming, while also explaining various advanced concepts related to the C# programming language.

Start Learning C# Now!

C# Online Tools

Who is this tutorial for?

This tutorial helps beginners understand the basics of C# programming. After completing this tutorial, you will reach an intermediate level of C# programming proficiency.

Knowledge you need before reading this tutorial:

C# programming is based on the C and C++ programming languages, so if you have a basic understanding of C and C++ programming, it will help you learn the C# programming language.

Compile/Execute C# Program

Example Tutorial provides an online C# compilation environment. With just a simple click, you can experience real programming on high-end servers. This is a completely free online tool.

Example

using System;
namespace HelloWorldApplication
{
    /* Class name is HelloWorld */
    class HelloWorld
    {
        /* main function */
        static void Main(string[] args)
        {
            /* My first C# program */
            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
    }
}

Run Example »

C# Useful Resources

This tutorial lists C# websites, books, and articles.

C# Useful Websites

  • C# Programming Guide- Introduces key C# language features and detailed information on how to access C# through the .NET framework.
  • Visual Studio- Download the latest version of Visual Studio, which serves as the C# integrated development environment.
  • Go Mono- Mono is a software platform that allows developers to easily create cross-platform applications.
  • C Sharp (programming language) - Wikipedia explains C# (programming language).
other extensions