Use Type.IsClass to check if a type is a class

[/csharp][/csharp][/csharp][/csharp][/csharp][/csharp]