using System; using Parser; ... static void Main() { Parsed x = new Ok(4); // Is there any way to avoid having to write "Parsed.Fn"? Console.WriteLine(x.Match(new Parsed.Fn { Ok = z => z.Value, Error = z => 9 })); }