using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Interview2_MT
{
public class MyBlockingCollection
public MyBlockingCollection()
}
/// <summary>
/// Add item to the collection
/// </summary>
/// <param name="i"></param>
public void Add( object item)
/// Remove item from the collection
/// if collection is empty the thread will stuck inside until complte / new item added
/// <returns></returns>
public object GetAndRemove()
/// Release any thread locked in Remove
public void Complete()