Which of the following is the correct way to instantiate an object in C#:

Skill/Topic: Beginner
A) objThis = System.CreateObject( ThisObject);
B) objThis = new ThisObject();

Showing Answers 1 - 4 of 4 Answers

Naveen kumar

  • Mar 3rd, 2017
 

B)objThis=new ThisObject();

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions