Reflection
Inspecting and using types, members, and annotations at runtime.
What is Reflection in C#?
Reflection — Inspecting and using types, members, and annotations at runtime.
class TypeInspector
{
string TypeName(object value)
{
Type type = value.GetType();
return type.Name;
}
}
Level: Master · More C# terms at this level
Updated