Is there a better way getting the first element of IEnumerable type of this:
foreach (Image image in imgList) { picture.Width = (short)image.Columns;
var firstImage = imgList.Cast().First();