Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Program.cs
- using System;
- public class Program
- {
- public static void Main(string[] args)
- {
- // The Length property is used to obtain the length of the array.
- // Notice that Length is a read-only property:
- Console.WriteLine("Number of command line parameters = {0}",
- args.Length);
- for(int i = 0; i < args.Length; i++)
- {
- Console.WriteLine("Arg[{0}] = [{1}]", i, args[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment