Use Type.GetType to check the type of an object

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