public void isnertofront(llist a, int newData) { Node newNode = new Node(newData); newNode.next = a.headOrStart; a.headOrStart = newNode; }
static void Main(string[] args) { llist q = new llist(); q.isnertofront(q, 2); q.print(); }