It is possible to cast as tuple in this way?
(string value, bool flag) value1 = MethodInfo.Invoke(this, param) as (string, bool);
Unfortunately it throw:
"The as operator must be used with a reference type or nullable type ('(string, bool)' is a non-nullable value type)"
Only work in this way:
Tuple<string, bool> value1 = MethodInfo.Invoke(this, param) as Tuple<string, bool>;