public void TaskDumpRecord(string args) { String[] taskArgs = args.Split(new char[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries); if (taskArgs.Length != 1) { Console.WriteLine("Invalid number of arguments: ({0})", taskArgs.Length); return; } else { MMemoryLoader.DumpMMRecord(taskArgs[0]); } }