The only C# generics explanations I can ever seem to locate go into the "List<T
>" discussion and end there. I am looking for something a little more in-depth, specifically when dealing with <T
> in method signatures -- I see some pretty wild syntax at times and am having trouble understanding why and when to use it. I feel like I could be doing certain things smarter or more efficiently at times if I had a better grasp of generics. Thanks!
views:
150answers:
2
+2
A:
I highly recommend O'Reilly's C# 3.0 in a Nutshell. It provides a very detailed discussion of Generics, typical usage scenarios, and syntactical intricacies.
JoshJordan
2009-05-28 20:21:07