SHARE
TWEET

Untitled

a guest Aug 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace myprogram
  6. {
  7.   class Program
  8.   {
  9.     static string ProcessInput(string s)
  10.     {
  11.        // TODO Verify and validate the input
  12.        // string as appropriate for your application.
  13.        return s;
  14.     }
  15.  
  16.     static void Main(string[] args)
  17.     {
  18.       Console.WriteLine("Raw command-line: \n\t" + Environment.CommandLine);
  19.       Console.WriteLine("\n\nArguments:\n");
  20.  
  21.       foreach (string s in args)
  22.       {
  23.         Console.WriteLine("\t" + ProcessInput(s));
  24.       }
  25.  
  26.       Console.WriteLine("\nPress any key to continue...");
  27.       Console.ReadKey();
  28.     }
  29.   }
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top