public static void Main(string[] args) { if (args.Length > 0) { string input; int segments = 2; if (args [0] == "-s") { input = args [2]; segments = Int32.Parse (args [1]); } else { input = args [0]; } LCD lcd = new LCD (input, segments); lcd.draw (); } else { Console.WriteLine ("Usage: LCD.exe [-s SEGMENTS] NUMBER"); } }