C# (pronounced "C-Sharp") is a modern, object-oriented, type-safe programming language developed by Microsoft as part of its .NET initiative. It's widely used for developing desktop applications, web applications, games (using Unity), cloud-based software, and more.
| Keyword | Description |
| abstract | Indicates an incomplete implementation that must be overridden |
| as | Performs conversions between compatible types |
| base | Access base class members |
| bool | Boolean type (true/false) |
| break | Exits the loop or switch |
| byte | 8-bit unsigned integer |
| case | Defines a switch case |
| catch | Handles exceptions |
| char | 16-bit Unicode character |
| class | Defines a class |
| const | Defines a constant field or local |
| continue | Skips the current loop iteration |
| decimal | High-precision decimal type |
| default | Default value in switch or generics |
| delegate | Defines a delegate type |
| do | Starts a do-while loop |
| double | Double-precision floating point |
| else | Defines else branch |
| enum | Defines an enumeration |
| event | Declares an event |
| explicit | Declares a user-defined explicit conversion |
| extern | Declares external method implementation |
| false | Boolean literal |
| finally | Executes after try/catch block |
| fixed | Fixes a variable address in memory |
| float | Single-precision floating point |
| for | Starts a for loop |
| foreach | Iterates over a collection |
| goto | Transfers control to a label |
| if | Conditional statement |
| implicit | Defines implicit type conversion |
| in | Specifies input parameter |
| int | 32-bit signed integer |
| interface | Declares an interface |
| internal | Accessible only within the assembly |
| is | Checks object type at runtime |
| lock | Ensures thread safety |
| long | 64-bit signed integer |
| namespace | Declares a scope container |
| new | Creates object or hides member |
| null | Represents no value |
| object | Base type of all types |
| operator | Overloads an operator |
| out | Specifies output parameter |
| override | Overrides base class member |
| params | Specifies a parameter array |
| private | Accessible only within class |
| protected | Accessible within class or derived class |
| public | Accessible from anywhere |
| readonly | Assigned only at declaration or constructor |
| ref | Passes argument by reference |
| return | Returns from a method |
| sbyte | 8-bit signed integer |
| sealed | Prevents class inheritance |
| short | 16-bit signed integer |
| sizeof | Returns size in bytes |
| stackalloc | Allocates memory on the stack |
| static | Declares static member or class |
| string | Sequence of characters |
| struct | Defines a value type |
| switch | Switch statement |
| this | Refers to current instance |
| throw | Throws an exception |
| true | Boolean literal |
| try | Defines exception block |
| typeof | Gets the type of a class |
| uint | 32-bit unsigned integer |
| ulong | 64-bit unsigned integer |
| unchecked | Disables overflow checking |
| unsafe | Allows pointer usage |
| ushort | 16-bit unsigned integer |
| using | Includes namespaces or manages resources |
| virtual | Allows method overriding |
| void | No return type |
| volatile | Indicates variable may be modified by multiple threads |
| while | Starts a while loop |