[Mono-list] Reflection Problem

Gonzalo Paniagua Javier gonzalo@ximian.com
20 Mar 2003 15:25:19 +0100


El jue, 20 de 03 de 2003 a las 10:14, Carlos Alberto Cortez escribió:
>                 Type theMathType = Type.GetType("System.Math");
>                 Object theObj = Activator.CreateInstance(theMathType);

You get the same error (or similar) when trying to do that under MS
runtime. Why do you need to create an instance of a class that only has
static methods?

-Gonzalo