C# is a modern, object-oriented programming language developed by Microsoft. It is widely used for developing Windows desktop applications, video games, and mobile applications, as well as web applications and services using the .NET framework. C# features strong typing, automatic memory management, and supports both imperative and functional programming paradigms. It also has built-in support for LINQ (Language Integrated Query) and asynchronous programming.
int x = 10; int y = x++; Console.WriteLine(y);
string str1 = "Hello"; string str2 = "Hello"; if (str1 == str2) { Console.WriteLine("Equal"); } else { Console.WriteLine("Not Equal"); }