I have a class like Quete (first in , first out)
public class Tor<T>
{
private T[] elements;
private int next;
public event EventHandler<EventArgs> queueFull;
}
I need to build a Constructor that get one parameter (queue size (int). and it allocate the arrary and initilizes the variable,
how to do it?