static void Main(string[] args) { Student st = new Student(); //object of student with paratmeterless constructor Student stPar = new Student("Zahid Ali", "2018-CS-136"); //object of student with paratmeterize constructor st.display(st); stPar.display(stPar); st.input(); st.toString(st); }