static void Main(string[] args) { Thesaurus a = new Thesaurus(); string[] results = a.edit(new string[] {"a b c", "d e f", "g h i", "b g c e f"}); for (int i=0; i< results.Length;i++) { Console.Out.WriteLine("{0}", results[i] ); } Console.In.ReadLine(); }