private static void PrintCounteragentList(CounteragentList counteragentList, string title) { System.Console.WriteLine(); System.Console.WriteLine(string.Format("{0} ({1}/{2}): ", title, counteragentList.Counteragents.Count, counteragentList.TotalCount)); foreach (var counteragent in counteragentList.Counteragents) { System.Console.WriteLine(string.Format(" {0}", OutputHelpers.FormatOrganization(counteragent.Organization))); } System.Console.WriteLine(); }