How to pass argument when build console project

Jul 9, 2014 at 9:24 AM
example :

class program
{
   static void Main(string[] args)
   {
          int a = arg[0];
          int b = arg [1];
          Sum(a,b);

   }
   private void Sum(int a, int b)
   {
       int sum = a+ b;
       console.write("sum = {0}", sum);
   }      
}

My question : after build it with visual , I have file .exe. Then I buil this file. exe with command line , how to pass argument have formmat follow in command line:
---arg1 a ---arg2 b