First-Q
When you create a BlockingCollection<T>, you can specify not only the bounded capacity but also the type of collection to use. You can use any collection class that implements the IProducerConsumerCollection<T> interface for example, for LIFO:
BlockingCollection<int> bc = new BlockingCollection<int>(new ConcurrentStack<int>());
Second-Q
You need to add async keyword to the signature of BtnBlockingList_ClickAsync method and call Test() method with await.
public async Task BtnBlockingList_ClickAsync(object sender, RoutedEventArgs e)
{
await Test();
}
static async Task Test()
{
await AddTakeDemo.BC_AddTakeCompleteAdding();
TryTakeDemo.BC_TryTake();
FromToAnyDemo.BC_FromToAny();
await ConsumingEnumerableDemo.BC_GetConsumingEnumerable();
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
}