Poor man's option type in C# - DevCommunity.info


Poor man's option type in C#

Posted by Mauricio Scheffer on October 29, 2011

I've blogged before about the virtues of the Option type. However, it's currently not part of the standard .NET library, so either you have to use F#, code it yourself, or use a library.

But there is something built-in and almost equivalent: lists! You can use any list-like container (List<T>,

... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.