What's the best way of using a pair (triple, etc) of values as one value in C#?

前端 未结 16 2267
时光说笑
时光说笑 2021-02-07 03:00

That is, I\'d like to have a tuple of values.

The use case on my mind:

Dictionary, object>

or

<         


        
16条回答
  •  执笔经年
    2021-02-07 03:26

    Aye, there's System.Web.UI.Pair and System.Web.UI.Triplet (which has an overloaded creator for Pair-type behaviour!)

提交回复
热议问题