I am trying to do some interop between C# and F# in Mono. Is there a System.Tuple in Mono C#? I can see the one in Mono.CSharp, but that doesn’t seem to be the same type as F# (a’ * b’). So,
(a) Is there a System.Tuple in Mono C#
or (b) Is there a cast between tuples in Mono C# and F#?
Yes Mono supports a
Tupletype. I know it’s in 4.0 but I’ve seen comments of it’s availability since version 2.6.