Click here to Skip to main content
11,505,123 members (66,050 online)
Click here to Skip to main content
Articles » Languages » C# » General » Revisions
Add your own
alternative version

Chained null checks and the Maybe monad

, 21 Sep 2010 CPOL 131.9K 155
Shows how a few Extension Methods solve the 'repeated null check' problem.



Compare Revision Minor Date Status Editor
7 - publicly available No 10-Nov-10 11:39 Available Smitha Vijayan
6 No 21-Sep-10 10:44 Composing Dmitri Nеstеruk
5 No 16-Sep-10 2:30 Composing Dmitri Nеstеruk
4 No 12-Sep-10 14:24 Composing Dmitri Nеstеruk
3 No 12-Sep-10 13:59 Composing Dmitri Nеstеruk
2 No 12-Sep-10 9:54 Composing Dmitri Nеstеruk
1 No 12-Sep-10 4:49 Composing Dmitri Nеstеruk


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


About the Author

Dmitri Nеstеruk
Founder ActiveMesa
United Kingdom United Kingdom
I work primarily with the .NET technology stack, and specialize in accelerated code production via code generation (static or dynamic), aspect-oriented programming, MDA, domain-specific languages and anything else that gets products out the door faster. My languages of choice are C# and F#, though I'm open to suggestions.

I'm a Microsoft MVP (Visual C#) since 2009. I run a collective tech blog at I use my own editor called TypograFix to typeset articles and blog posts.

Like the article and want this implemented in your product? Got a project that can benefit from Microsoft.Net goodness? Then get in touch!
Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 21 Sep 2010
Article Copyright 2010 by Dmitri Nеstеruk
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid