Accessing a Dictionary.Keys Key through a numeric index

前端 未结 15 1239
失恋的感觉
失恋的感觉 2020-12-07 13:49

I\'m using a Dictionary where the int is a count of the key.

Now, I need to access the last-inserted Key inside the Dict

15条回答
  •  心在旅途
    2020-12-07 14:21

    A dictionary may not be very intuitive for using index for reference but, you can have similar operations with an array of KeyValuePair:

    ex. KeyValuePair[] filters;

提交回复
热议问题