re: Dealing with Nothing in C# - The Null Object Pattern VIEW POST

FULL DISCUSSION
 

Very good overview of the null object pattern.
Others already mentioned Maybe/Optional pattern. Here's my take on that pattern: github.com/j2jensen/callmemaybe
I'm definitely looking forward to nullable reference types in C# 8!

code of conduct - report abuse