C# (pronounced βC-Sharpβ) is a modern, object-oriented programming language developed by Microsoft. It is widely used for building Windows applications, web services, games, and more.
Here is a simple example to print Hello, World!
in C#:
using System; class Program { static void Main() { Console.WriteLine("Hello, World!"); } }
Console.WriteLine()
is used to print output to the console.
Main()
.Modify the code below and see the output:
Help others discover Technorank Learning by sharing your honest experience.
Your support inspires us to keep building!