FortisVenaliter's Dev Blog
Love for the IList<> 
Monday, September 14, 2009, 02:07 PM
Posted by Administrator
I have discovered a newfound love for the IList<> interface. I use arrays and Lists pretty extensively and the List's ToArray function can be pretty memory inefficient, especially when using structs. Now I can store a list or array in an IList<> and treat them the same! Yay! I have always been a big fan of polymorphism and this is an example of it at its finest.
add comment ( 2571 views )   |  permalink   |   ( 2.9 / 716 )

<Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next> Last>>