How do I check type in c#

satya - Tuesday, May 08, 2007 10:34:13 PM

See here

http://www.andymcm.com/csharpfaq.htm

satya - Tuesday, May 08, 2007 10:35:49 PM

example


class a{};
object o;
if (o is a)
{
do something;
}