/OptionTypeTwoWays

'OneOf' used as 'Option Type' compared with pure 'Option Type'.

Primary LanguageC#

'OneOf' used as 'Option Type' compared with pure 'Option Type'

  • OneOf<T, None>
  • Option<T>

Both have a similar Match function to handle both cases (value or None).