예제 #1
0
 /// <summary>
 /// Retrieve a range of values
 /// </summary>
 /// <param name="keyFrom">Range start (inclusive)</param>
 /// <param name="keyTo">Range to (inclusive)</param>
 /// <exception cref="ArgumentNullException">Throws ArgumentNullException the keyFrom or keyTo are null</exception>
 /// <returns>Range of values</returns>
 public static IEnumerable <V> findRange <K, V>(Map <K, V> map, K keyFrom, K keyTo) =>
 map.FindRange(keyFrom, keyTo);