Exercise
First contact with C#
Objetive
Write a C# program to print Hello on screen and then print your name (in a separate line).
Example Code
using System; // Importing the System namespace to use Console functionalities
// Main class of the program
public class Program
{
// Main method where the program execution begins
static void Main()
{
// Printing "Hello" to the screen
Console.WriteLine("Hello");
// Printing the user's name on a new line
Console.WriteLine("Your Name"); // Replace "Your Name" with your actual name
}
}