Console.write - it is used to print in same line
Console.writeline - it is used to print in new line
Console.readkey()- it is used to end the program
PROGRAM
using system
{
Static void main()
{
Console.write("hello, welcom to c#");
Console.write("thanking you");
Console.readkey();
}
}
OUTPUT
hello, welcome to c#
thanking you