2. Write a program to demonstrate Command Line Arguments in C# using System; using System.Collections.Generic; using System.Text; namespace LABPROGRAMS { class CMDLINE2 { static void Main(string[] args) { int n, i; Console.WriteLine("PROGRAM TO IMPLEMENT COMMAND LINE ARGUMENTS\n\n"); if (args.Length == 0) { Console.WriteLine("NO ARGUMENTS SUBMITTED"); Console.ReadLine(); } for (i = 0; i < args.Length; i++) { n = int.Parse(args[i].ToString()); Console.WriteLine("The square of the given input value {0} is :{1}", n, n * n); } Console.ReadLine(); } } }