private static void GetTop10Completed(IAsyncResult iar) { var objs = c.EndGetTop10(iar); if (objs == null || objs.Length == 0) { return; } foreach (var item in objs) { Console.WriteLine("-> {0} {1}", item.CustomerID, item.FirstName); } }
private static void GetTop10Completed(IAsyncResult iar) { var objs = c.EndGetTop10(iar); if (objs == null || objs.Length == 0) { return; } foreach (var item in objs) { Console.WriteLine("-> {0} {1}", item.CustomerID, item.FirstName); } }