C# (pronounced “C-sharp”) is a modern, object-oriented programming language developed by Microsoft as part of its .NET platform.
š¹ Key Points:
- Type: High-level, statically typed, multi-paradigm (supports OOP, functional, event-driven).
- Designed By: Microsoft, led by Anders Hejlsberg.
- Runs On: .NET Framework (Windows) or .NET Core/.NET 5+ (cross-platform).
š¹ What is C# used for?
C# is used to build a wide range of applications, including:
- Web apps (via ASP.NET)
- Desktop apps (Windows Forms, WPF)
- Mobile apps (via Xamarin or .NET MAUI)
- Games (via Unity)
- Cloud-based services (Azure)
- APIs & microservices
š¹ Features of C#:
- Strongly typed
- Garbage collection (automatic memory management)
- Language Integrated Query (LINQ)
- Asynchronous programming with
async/await - Properties, events, delegates
- Cross-platform development via .NET Core/.NET 6+
