protected static T getOne(tildeType <T> s) { T holding = default; try { s.Terminate(); } catch (AnyException e) { holding = e.GetValue <T>(); } return(holding); }
protected static (T, T) getTwo(tildeType <T> ls, tildeType <T> rs) { T holding1 = default; T holding2 = default; try { ls.Terminate(); } catch (AnyException e) { holding1 = e.GetValue <T>(); } try { rs.Terminate(); } catch (AnyException e) { holding2 = e.GetValue <T>(); } return(holding1, holding2); }