« Internationalization: Creating a custom culture | Main | Web 2.0 Bubble »

December 22, 2007


TrackBack URL for this entry:

Listed below are links to weblogs that reference Fun with Generics: Using constraints to limit Generics applicability using the 'where' keyword:


Julio César

Nice article!: concrete, practical and useful. Just what I was looking for...

Thanks a lot.

Moim Hossain

Good post. Basically, I have seen that we know these stuffs about generics but for some reason (!) we don't use practice them.
This blog post certainly give me a reminder next time while I will write code and there is a scope applying these beauty of generics.


Well developed post.
Even if I use Generics from their early introduction, i really enjoyed reading this post :)


Cool man. gr8. Thanks


How do we constrain a generic to a nullable type

private static bool ProcessNullableValue(object target) where T : Nullable



Thanks for this article. I found it very useful. As a beginner to generics, I found it a bit advanced. But yes, I did go through other articles before I went through this.


The above can be used if you are a begineer like me. Once you read the above, this article would be cake walk. Ofcourse this article would give a completeness to the understanding of generics.


I'm inclined to agree with you.


Although I think it's great work, my only criticism is at the syntactical (and somewhat superficial) level.

Impotence causes

Very good day to everyone. My name is James, I would firstly like to thank the creators of the blog for allowing me to express my opinion. Any friend or acquaintance I would recommend this article, is great, effective, comprehensive and dynamic. I was very young I have always admired people who are dedicated to reporting and writing on public issues, I think they are very special, just the fact that they are dedicated to publishing articles for everybody and that is admirable.

Cheap viagra

All have very nice day! a very special greeting to the artist who created this article was great, I think some criticism on blogs are what give it that spicy that makes them interesting, which is why I bring my little criticism. Many thanks.


Hi Shafqat,

I am a Development Editor working with Packt. We are planning to publish a book on .Net Generics. I am looking for technical reviewers to provide feedback
on the content of the book. It would be of great help, if you would be willing to take it up. Please visit http://www.packtpub.com/author_reviewing_for_packt for more details regarding reviewing.We will also like you to know that you will be receiving two copies of the book- one eBook or print copy of the book you review and an eBook of your choice from our catalog once it is published and your name will be credited as well.



Hi there,
Really nice job,There are many people searching about that now they will find enough sources by your tips.
Also looking forward for more tips about that

The comments to this entry are closed.