July 2008 - Posts

5
Comments

Using the LINQ Keyword "First" by Jason N. Gaylord

All day I was stumped on why there wasn't a simple way to grab the first object in a sequence other than using: .Take(1).Single Then I discovered the keyword First. I'm still a little puzzled as to why .Single would throw an exception if more than a single...
Filed under: ,
More Posts