Java 8 has Optional<T> which is nice way to declare optional types as described here. 
Is there an equivalent way to that in C# ?
As per this answer You could make a struct that mimics this this type of functionality.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With