Repository navigation
EN CSharp Language Reference
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
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.
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 of C# constructs - keywords, operators and directives with separate complete examples.
ClassicUO — Bad Newbie & C# Scripts IDE