English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

C# Tutorial

C# is a simple and powerful object-oriented programming language developed by Microsoft.

C# can be used to create various types of applications using Visual Studio, such as web, Windows, console applications, or other types of applications.

These C# tutorials will help you learn the basic knowledge of C# from basic topics to advanced topics. These tutorials are divided into several parts, each containing many related topics, including easy-to-understand explanations, practical examples, useful tips, informative comments, and 'Points to Remember' sections.

This tutorial will teach you the basics of C# programming, while also explaining various advanced concepts related to the C# programming language.

Start learning C# now!

C# online tools

Who is suitable for reading this tutorial?

These tutorials are designed for beginners and professionals who want to learn C# step by step. After completing this tutorial, you will reach an intermediate level of C# programming.

Knowledge you need to know before reading this tutorial:

C# programming is based on C and C++ programming languages, so if you are familiar with C and C++ A basic understanding of programming will help you learn the C# programming language.

Compile/Execute C# program

The Basic Tutorial Website provides an online C# compilation environment where you can experience real programming experience on high-end servers with simple clicks. This is a completely free online tool.

Online examples

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

Useful resources for C#

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

Useful C# Websites

  • C# Programming Guide - It introduces detailed information about key C# language features and how to access C# through the .NET framework.

  • Visual Studio - Download the latest version of Visual Studio, which is an integrated development environment for C#.

  • 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).