A set of very conservative extension methods — most of those closely follow common naming and implementation patterns in the .NET framework. You can get it from NuGet as AshMind.Extensions.
Below is an auto-generated list of the methods provided:
- IndexOf
- LastIndexOf
- Reverse
- Sort
- GetAssemblyFile
- GetAssemblyFileFromCodeBase
- IsControl
- IsDigit
- IsHighSurrogate
- IsLetter
- IsLetterOrDigit
- IsLower
- IsLowSurrogate
- IsNumber
- IsPunctuation
- IsSeparator
- IsSurrogate
- IsSymbol
- IsUpper
- IsWhiteSpace
- ToLower
- ToLowerInvariant
- ToUpper
- ToUpperInvariant
- AddRange
- RemoveAll
- RemoveWhere
- IsBetween
- IsGreaterThan
- IsGreaterThanOrEqual
- IsLesserThan
- IsLesserThanOrEqual
- TruncateToHours
- TruncateToMilliseconds
- TruncateToMinutes
- TruncateToSeconds
- AsComparison
- AsFunction
- AsPredicate
- ToComparer
- AsReadOnly
- GetOrAdd
- GetValueOrDefault
- IsInfinity
- IsNaN
- IsNegativeInfinity
- IsPositiveInfinity
- Any
- AsCollection
- AsList
- AsReadOnlyCollection
- AsReadOnlyList
- Concat
- EmptyIfNull
- Except
- ForEach
- GroupAdjacentBy
- HavingMax
- HavingMin
- OnAfterEach
- OnAfterLast
- OnBeforeEach
- OnBeforeFirst
- ToSet
- ToInvariantString
- ToString
- IsBetween
- Times
- AsReadOnly
- EnumerateRange
- InsertRange
- RemoveRange
- CreateDelegate
- GetCustomAttribute
- GetCustomAttributes
- HasInterface
- IsAssignableFrom
- IsAssignableTo
- IsDefined
- IsGenericTypeDefinedAs
- IsSameAsOrSubclassOf
- IsSubclassOf
- Contains
- IsNullOrEmpty
- IsNullOrWhiteSpace
- NullIfEmpty
- RemoveEnd
- RemoveStart
- Split
- SubstringAfter
- SubstringAfterLast
- SubstringBefore
- SubstringBeforeLast
- TruncateEnd
- Ago
- Days
- Hours
- Milliseconds
- Minute
- Minutes
- Seconds