Converting from array of <T> to List<T>

It seems like there would be an easy way to convert from an array of objects of type T to a generic list of type T.  Now maybe I am just missing it completely, but a method like List<T>.AddRange( T[] ) would make sense.

Besides building a generic helper class to do the conversion, is there an easier (built-in) way?

 

Recent Posts

Tag Cloud

2 Comments

Comments have been disabled for this content.