CODE:
1.
For
Write:
using
System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TASK_2
{
class Program
{
static void Main(string[] args)
{
Console.Write("Muhammad
");
Console.Write("Ali");
}
}
}
OUTPUT:
2.
For
WriteLine:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TASK_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Muhammad");
Console.WriteLine("Ali");
}
}
}
No comments:
Post a Comment