using System.Collections.Generic;
public static void Main(string[] args){
Console.WriteLine("t1 type is " + t1.GetType().Name);
Console.WriteLine("t2 type is " + t2.GetType().Name);
List<byte> search = t2.GetValue().Where(b => b > 0).ToList();
foreach(byte num in search){
private readonly T value;
private readonly bool hasValue;
public static implicit operator Maybe<T>(T value)
return value == null ? new Maybe<T>() : new Maybe<T>(value);
private static Maybe<byte> OK()
private static Maybe<IEnumerable<byte>> NotOK()
Byte[] a = new byte[] { 1, 2 };
Console.WriteLine(a.GetType().Name);