Пример #1
0
        private async Task Example2()
        {
            await AddTakeDemo.BC_AddTakeCompleteAdding();

            TryTakeDemo.BC_TryTake();
            FromToAnyDemo.BC_FromToAny();
            await ConsumingEnumerableDemo.BC_GetConsumingEnumerable();
        }
Пример #2
0
 static void Main()
 {
     AddTakeDemo.BC_AddTakeCompleteAdding();
     TryTakeDemo.BC_TryTake();
     FromToAnyDemo.BC_FromToAny();
     ConsumingEnumerableDemo.BC_GetConsumingEnumerable();
     Console.WriteLine("Press any key to exit.");
     Console.ReadKey();
 }