コード例 #1
0
        public static IOrderedEnumerable <KeyValuePair <TKey, Int64> > OrderDescending <TKey>([NotNull] this ILongCounter <TKey> counter)
        {
            if (counter is null)
            {
                throw new ArgumentNullException(nameof(counter));
            }

            return(counter.OrderByValuesDescending());
        }