Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace myprogram
- {
- class Program
- {
- static string ProcessInput(string s)
- {
- // TODO Verify and validate the input
- // string as appropriate for your application.
- return s;
- }
- static void Main(string[] args)
- {
- Console.WriteLine("Raw command-line: \n\t" + Environment.CommandLine);
- Console.WriteLine("\n\nArguments:\n");
- foreach (string s in args)
- {
- Console.WriteLine("\t" + ProcessInput(s));
- }
- Console.WriteLine("\nPress any key to continue...");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement