C# Command Line Arguments

Command Line Arguments are parameters supplied to the Main() method at the time of invoking it for execution.
Example:

using System;
class Sample
{
 public static void Maim(string []args)
{ 
 Console.Write("Welcome to Webeduclick");
 Console.Write(" "+args[0]);
 Console.Write(" "+args[1]);
}
} 

Recommended Posts:

C#
    1. C# Features
    2. Difference Between C++ and C#
    3. Difference Between C# and Java
    4. .NET Framework
    5. Benefits of .NET
    6. C# Program Structure
    7. C# Command Line Arguments
    8. Console.ReadLine() and Console.WriteLine()
    9. C# Literals
    10. C# Data Types
    11. Scope of Variables in C#
    12. Boxing and Unboxing in C#
    13. C# Operators
    14. C# Type Casting