public void Enqueue(int x) { kol newKol = new kol(x); if (gora == null) { gora = newKol; q = gora; return; } q.next = newKol; q = newKol; }
public void Dequeue() { if (this.Empty()) { return; } if (gora == q) { gora = null; q = null; return; } gora = gora.next; }