Пример #1
0
 static void Main(string[] args)
 {
     if (args.Length == 0)
     {
         Console.Write("Filename: ");
         args = new string[] { Console.ReadLine().Trim('"') };
     }
     foreach (string filename in args)
     {
         SA2MiniEvent.Split(filename);
     }
 }
Пример #2
0
 static void Main(string[] args)
 {
     if (args.Length == 0)
     {
         Console.Write("Filename: ");
         args = new string[] { Console.ReadLine().Trim('"') };
     }
     System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance);
     foreach (string filename in args)
     {
         SA2MiniEvent.Split(filename);
     }
 }