C shart code example
Example 1: c#
Console.WriteLine("Hello World!");
Example 2: c#
/* A C# (C-sharp ex.) */
using System;
namespace helloWorld
{
class Program
{
static void Main()
{
Console.WriteLine("What's your age?")
string age = Console.ReadLine()
Console.WriteLine($"You are {age} years old!")
}
}
}