<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>GetType() or 'is' keyword?</title><link>http://blogs.msdn.com/brandonturner/archive/2008/03/17/gettype-or-is-keyword.aspx</link><description>Sometimes you might run into a case where you want to know the type of an object you are dealing with.&amp;#160; When someone first faces this situation they find two ways to solve this problem.&amp;#160; They can use GetType() or they can use the 'is' keyword.&amp;#160;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: GetType() or 'is' keyword?</title><link>http://blogs.msdn.com/brandonturner/archive/2008/03/17/gettype-or-is-keyword.aspx#8291431</link><pubDate>Mon, 17 Mar 2008 19:33:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8291431</guid><dc:creator>rkpatrick</dc:creator><description>&lt;p&gt;A more complete &amp;quot;is&amp;quot; equivalent would be GetType().IsAssignableFrom(...), as it covers subclasses as well as interfaces much like &amp;quot;is&amp;quot; (I use that quite a bit in reflection-based code)&lt;/p&gt;
</description></item><item><title>re: GetType() or 'is' keyword?</title><link>http://blogs.msdn.com/brandonturner/archive/2008/03/17/gettype-or-is-keyword.aspx#9610172</link><pubDate>Wed, 13 May 2009 21:12:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9610172</guid><dc:creator>Farrukh</dc:creator><description>&lt;p&gt;thanks it helped me understanding the difference between the two.&lt;/p&gt;
</description></item></channel></rss>