Solved

Object Initializers (Which Initialize an Object and Its Properties)use What

Question 48

Multiple Choice

Object initializers (which initialize an object and its properties) use what syntax


A) new className(property1 - > value1, …) ;
B) new className(property1 = value1, …) ;
C) new className{property1 = value1, …};
D) className{property1 = value1, …};

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions