Skip to content

EN CSharp Language Reference

Codex edited this page Oct 11, 2026 · 2 revisions

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

The Complete Microsoft Language Reference

Manual C# · Examples UO

The practical chapters in this tutorial cover structure, types, variables, expressions, flow control, functions, OOP, generics, events, async, resources, and data manipulation. The official directory details each form of entry and special restrictions.

Section Official material
Types All types
Keywords Catalogue
Operators All operators
Control statements Statements
Special characters Tokens
Directives Preprocessor
Compilation Compiler options
Versions History of language
Formal rules Specification

The language C# is not equal to the entire library NET: individual namespaces contain files, networks, databases and UI. Their capabilities are available through normal project types and dependencies. Groups UO describe exactly the client’s game commands.

Official documentation: Complete Microsoft Language Reference - Microsoft Learn.

Simple example (Example.cs)

Save this example separately as Example.cs. Run it independently of the other examples on this page.

Example.cs:

// PROJECT-EXAMPLE
int count = 3;
if (count > 0) System.Console.WriteLine($"Count={count}");

Result:

Count=3

Complete reference book of designs

Complete reference of C# constructs - keywords, operators and directives with separate complete examples.

Clone this wiki locally