using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyFirstConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome To MY DOTNET MATERIALS.COM");
Console.ReadLine();
}
}
}
OUTPUT :
System :
♣ System is a base class library which is defined by the Microsoft
Console :
♣ Console is a predefined class which is part of System base class library
WriteLine() :
♣ It is a predefined member method of console class.
♣ This method will print the given value on command prompt window, after printing the value it will move the cursor to next line
Compiling the program :
♣ Build –> Build Solution (ctrl + shift + B)
Executing the Program :
♣ Press F5