push Summary Adds an element to the collection. Usage public void push(T element) Parameters element The element to add to the collection. Description Adds an element to the collection. Examples Basic Usage 12345import System; auto queue = new Queue<int>();queue.push(1);queue.push(2); Share HTML | BBCode | Direct Link