Suppose You develop a Windows-based application by using Visual Studio .NET. The application includes
a form named XYZForm and a class named Contact. XYZForm includes a button named
cmdCreateContact. You must ensure that your application creates an instance of Contact when a
user clicks this button. You want to write the most efficient code possible.
Which code segment should you use?
A. Contact contact = new Object();
B. Contact contact = new Contact;
C. Object contact = new Contact;
D. Contact contact = new Object;

Submitted by: Administrator
B. Contact contact = new Contact;
Submitted by: Administrator

Read Online MCSD.NET - 70-316 Exam Job Interview Questions And Answers