Skip to content

Instantly share code, notes, and snippets.

View DoubleCouponDay's full-sized avatar

DoubleCouponDay DoubleCouponDay

  • Spida Machinery
  • New Zealand
  • 18:40 (UTC +13:00)
View GitHub Profile
public abstract class Option<TValue> where TValue : struct
{
protected TValue? value;
}
public class Some<TValue> : Option<TValue> where TValue : struct {
public TValue Value => value.Value;
public Some(TValue input)
{