Click here to Skip to main content
15,887,027 members
Articles / Programming Languages / C#

IfNull Extension Method

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
3 Jul 2012CPOL1 min read 21.8K   2  
An extension method that gives you a replacement if the Type is null.

Views

Daily 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 SSE
United Kingdom United Kingdom
Been a professional programmer for 2 years working in C# and VBA working in the energy industry

Comments and Discussions