Mono : is there a System.Tuple?

前端 未结 3 1520
無奈伤痛
無奈伤痛 2021-01-18 10:35

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

3条回答
  •  醉梦人生
    2021-01-18 11:19

    I just tried

    System.Tuple t2 = new System.Tuple(1, 2); 
    

    and it worked, on version 4.0

提交回复
热议问题