(Type, int)[] Format1 = new[] {(typeof(Foo),1)};
(Type, int)[] Format2 = new[] { (typeof(Bar), 1),(typeof(Baz),1) };
IEnumerable<Type> allTypes() => //Foo,Bar,Baz
Can you help with:
- how to temporarily union
Format1
andFormat2
in a quick way, so that... - we can extract the types out of the tuples and return them in
allTypes()