FilenamePair ParseLine( string line ) { var parts = line.Split(new char[] {'|'}); if( parts.Length != 3 ) return null; var pair = new FilenamePair(); pair.Input = parts[0]; pair.Output = parts[1]; return pair; }
FilenamePair ParseLine(string line) { var parts = line.Split(new char[] { '|' }); if (parts.Length != 3) { return(null); } var pair = new FilenamePair(); pair.Input = parts[0]; pair.Output = parts[1]; return(pair); }