Quiz Yourself: Reflection
Test your knowledge of Reflection.
We'll cover the following...
Reflection Quiz
1
(Select all that apply.) Which of the following is a correct way to obtain type information?
A)
var typeInfo = typeof(string);
B)
var someObject = new List<int>();
var typeInfo = Type.GetType(someObject);
C)
var typeInfo = Type.GetType("System.Int32");
D)
var someObject = new List<int>();
var typeInfo = someObject.GetType();
Question 1 of 40 attempted
Access this course and 1400+ top-rated courses and projects.