static void Main(string[] args) { string pathFile = "Flowtest.xml"; string errmesg; Program p = new Program(); Flow flow = Flow.CreateFlow(); Item[] items = flow.ReturnItemList(pathFile, out errmesg); Console.WriteLine(errmesg); if (items != null) { p.CheckCount(items); p.CheckName(items); p.CheckLoop(items); p.CheckSameId(items); p.CheckMethodName(items); } Console.WriteLine("Test OK"); Console.Read(); }