jump to navigation

How to determine whether a type is an instance of some generic type without knowing T? March 21, 2007

Posted by Andrew in .NET.
trackback

This blog has moved.

The new details are:

Blog: http://andrewpeters.net/

Feed: feed://http//andrewpeters.net/feed/

Advertisements

Comments»

1. Ayende Rahien - March 22, 2007

This would fail for typeof(Nullable)

2. andrewpeters - March 22, 2007

Ah, that would be because System.Nullable isn’t nullable :-)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: