C# tutorial and cheat sheet for .NET developers: types, OOP, generics, collections, LINQ, delegates, events, async/await, records, pattern matching and ASP.NET basics.
C# (pronounced "C-Sharp") is a modern, type-safe, object-oriented language developed by Microsoft as part of the .NET framework. Designed by Anders Hejlsberg (who also created TypeScript and Turbo Pascal), C# combines the power of C++ with the simplicity of Visual Basic. C# runs on the .NET runtime (CLR — Common Language Runtime) which provides automatic memory management, type safety, and cross-platform support. Since .NET 5+, C# is fully cross-platform — running on Windows, macOS, and Linux. Where C# Is Used C# is used for web applications (ASP.NET), desktop apps (WPF, WinForms), mobile…