How to find point between two keys in sorted dictionary

后端 未结 5 1135
生来不讨喜
生来不讨喜 2021-01-22 23:43

I have a sorted dictionary that contains measured data points as key/value pairs. To determine the value for a non-measured data point I want to extrapolate the value between t

5条回答
  •  清酒与你
    2021-01-22 23:56

    Possible you're asking about following:

    myDictionary.Keys.Where(w => w > start && w < end)

提交回复
热议问题