Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

FirstOrDefault Extension Method the Way I Expect It to Work

Rate me:
Please Sign up or sign in to vote.
2.33/5 (3 votes)
8 Nov 2010CPOL1 min read 38.4K   94  
Creating a FirstOrDefault Extension Method that takes the default value as a parameter

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I’m a Software Engineer at Microsoft working on the Azure Portal. Before that I spent about 20 years developed various business applications at a number of different companies. I have a passion for writing clean, scalable code and sharing what I’ve learned with others.

I also help run the Casco Bay .Net User Group

Comments and Discussions