static int Main(string[] args) { if (args.Length >= 3 && args[0].Equals("run")) { var library = new Library.Library(); List <string[]> files = ReadFile(args.Skip(1).ToArray()); if (files == null) { return(1); } foreach (string[] test in files) { PrintArray(test); } if (library.CheckFiles(files)) { string[] combined = library.CombineFiles(files); PrintArray(combined); } else { Console.WriteLine("ERROR: The file have no equals sizes"); } } else { Console.WriteLine("ERROR: To less arguments"); } return(0); }