C# was Microsoft's answer to Java, which it resembles. In the beginning C# was a Windows only affair. .NET also allows programming in other languages like VB.NET and F#. ASP.NET can be used for web development. The newer .NET Core allows multi-platform development.
Online tutorial and in browser tutorial.