I\'m looking for a way to write code that tests whether a value is boxed.
My preliminary investigations indicate that .NET goes out of its way to conceal the fact,
If a type is a value type and its static type is 'dynamic' or 'object', or an interface, it is always boxed.
If a type is a value type and its static type is the actual type, it is never boxed.