Compiler Error CS0716
Cannot convert to static type 'type'
This error occurs if your code uses a cast to convert to a static type. Since it is not possible for an object to be an instance of a static type, casting to a static type can never be a meaningful cast.