Reflecting on type parameters C# with Example



Reflecting on type parameters C# with Example

The typeof operator works on type parameters. 
class NameGetter 
{ 
public string GetTypeName() 
{ 
return typeof(T).Name; 
} 
} 

0 Comment's

Comment Form

Submit Comment