Explore topic-wise MCQs in C# Question & Answers Runtime Type.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C# Question & Answers Runtime Type knowledge and support exam preparation. Choose a topic below to get started.

1.

Which operator among the following supplies the information about the characteristics of a typeof?

A. is
B. as
C. typeof
D. none of the mentioned
Answer» D. none of the mentioned
2.

Select the Keyword which supports the run time type identification?

A. is, as
B. as, typeof
C. Both is, as & as, typeof
D. Only is, as
Answer» D. Only is, as
3.

Select the statement which are correct about RTTI(Runtime type identification)?

A. It allows the type of an object to be determined during program execution
B. It tells what type of object is being referred to by a base class reference determined by RTTI
C. Helps in prevention of an invalid cast exception in advance
D. All of the mentioned
Answer» E.