I don't know if it's the best way to do it, but I usually set a private
constructor (if my class is a static/util non-instantiable class) and than call GetType()
on an instance.
private MyStaticClass
{
// ...
}
public static Type MyStaticMethiod()
{
return new MyStaticClass().GetType();
}