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.Posted by Administrator




( 3 / 138 )

Random Entry



