Hexure interview question

Some basic questions on .Net, OOPS