I have a class ObjectMapper . Is there any way in .NET 4.0 to tell if typeof(T) is dynamic? I want to be able to determine inside
ObjectMapper
typeof(T)
dynamic
There is no CLR type called dynamic. The C# compiler makes all dynamic values of type object and then calls custom binding code to figure out how to handle them. If dynamic was used, it will show up as Object.
object
Object