Get the first item of a List
I have a List<Type> that I know will always contain only one item and I want to get that item.
I can't find a simple method that will let me do that in one line! DO I really have to get the Enumerator or do a foreach?
Thanks
|