37 packages tagged with “CLSS”
An extension method to check whether the source value is within a range. A part of the C# Language Syntactic Sugar suite.
A default-constructed instance of the System.Random class. A part of the C# Language Syntactic Sugar suite.
An extension method to replicate the pipe syntax (take the source value and feed it as an argument to a method). A part of the C# Language Syntactic Sugar suite.
An extension method to swap the values at 2 different keys in an IDictionary. A part of the C# Language Syntactic Sugar suite.
An extension method to swap the values at 2 different indices in an IList. A part of the C# Language Syntactic Sugar suite.
A class that encapsulates a function to automatically memoize its results. A part of the C# Language Syntactic Sugar suite.
A type-safe, serializable generic struct type tailored to semantically represent a range of comparable values. A part of the C# Language Syntactic Sugar suite.
An extension method to provide GetOrAdd as found in ConcurrentDictionary to every IDictionary type. A part of the C# Language Syntactic Sugar suite.
An extension method create an enumerable that infinitely loops over a collection. A part of the C# Language Syntactic Sugar suite.
A global cache of default string representations of values of value types. A part of the C# Language Syntactic Sugar suite.
An extension method to select a weighted random element from a list. A part of the C# Language Syntactic Sugar suite.
A delegate-like type that allows executions by key order. A part of the C# Language Syntactic Sugar suite.
An extension method to provide ForEach as found in List to every IEnumerable type. A part of the C# Language Syntactic Sugar suite.
A collection of common math operations in a functional syntax. A part of the C# Language Syntactic Sugar suite.
An extension method to shuffle an IList in place using the Fisher-Yates algorithm. A part of the C# Language Syntactic Sugar suite.
An extension method to move the value of a dictionary's key to another key. A part of the C# Language Syntactic Sugar suite.
An extension method to select a random element from a list. A part of the C# Language Syntactic Sugar suite.
An extension method to check reference types in a functional-style syntax. A part of the C# Language Syntactic Sugar suite.
An extension method to find the first or last index of an IList element matching a condition. A part of the C# Language Syntactic Sugar suite.
An extension method to fill all indices of an IList with a default value. A part of the C# Language Syntactic Sugar suite.
An extension method to provide a type-safe and functional style way to convert strings to enums. A part of the C# Language Syntactic Sugar suite.
An extension method that combines the removal of an element from an IList and post-removal processing of that element into one method call. A part of the C# Language Syntactic Sugar suite.
An extension method to infinitely advance an enumerator in a loop. A part of the C# Language Syntactic Sugar suite.
An extension method to clamp the source value into a range. A part of the C# Language Syntactic Sugar suite.
An extension method to randomly selection a number of non-repeating elements out of an IList using Donald Knuth's Algorithm S (Selection sampling technique). A part of the C# Language Syntactic Sugar suite.
An extension method that combines the removal of a key from an IDictionary and post-removal processing of that key's associated value into one method call. A part of the C# Language Syntactic Sugar suite.
An extension method to provide MinBy and MaxBy as found in .NET 6 to projects running on an earlier runtime version. A part of the C# Language Syntactic Sugar suite.
A struct type that wraps around a list collection to select a weighted random element from it efficiently. A part of the C# Language Syntactic Sugar suite.
A collection of statically-defined No-op methods used in place of anonymous no-ops to save memory allocations. A part of the C# Language Syntactic Sugar suite.
An extension method to cyclically convert any integer number into a valid index to get an element from a list. A part of the C# Language Syntactic Sugar suite.