Classes And Objects In C Sharp - Study Mode
[#131] Which keyword is used to create an object of a class in C#?
Correct Answer
(D) new
[#132] What is an object in C#?
Correct Answer
(C) An instance of a class
[#133] What is the access specifier that allows members of a class to be accessed from any other class in the same assembly in C#?
Correct Answer
(D) internal
[#134] What is the purpose of a constructor in C#?
Correct Answer
(B) To initialize the object's state
[#135] Which keyword is used to access members of a class from within the class itself in C#?
Correct Answer
(C) this