Пример #1
0
        static void Main(string[] args)
        {
            c = new ClienteServiceClient();

            c.BeginGetTop10(GetTop10Completed, null);

            c.BeginGetById(1, GetByIdCompleted, null);
            c.BeginGetById(10, GetByIdCompleted, null);
            c.BeginGetById(100, GetByIdCompleted, null);

            Console.ReadKey();
        }
Пример #2
0
        static void Main(string[] args)
        {
            c = new ClienteServiceClient();

            c.BeginGetTop10(GetTop10Completed, null);

            c.BeginGetById(1, GetByIdCompleted, null);
            c.BeginGetById(10, GetByIdCompleted, null);
            c.BeginGetById(100, GetByIdCompleted, null);

            Console.ReadKey();
        }