How do you get the name of a generic class using reflection
eg
public class SomeGenericClass<T>
{
}
SomeGenericClass<int> test = new SomeGenericClass<int>();
test.GetType().Name
returns "SomeGenericClass'1"
How do I get it to return "SomeGenericClass" without the '1?