github.com/cjvandyk/Extensions ↗
Extensions.dll contains extension methods that enhance existing C# classes thus making life easier for developers.
Open this visualization on its own page →
Contributors
2
Lines of Code
23,191
From
2021-01-31
To
2024-05-03
About cjvandyk/Extensions
Extensions.cs is a C# library that provides extension methods for numerous built-in .NET classes, making common operations easier and more readable. The project extends classes including Array, Dictionary, List, DateTime, Process, numeric types, String, StringBuilder, and others with new utility methods.
The library offers a wide range of functionality across different categories. String operations include validation methods like IsEmail, IsNumeric, IsAlphaNumeric, and IsStrong for password validation. It provides text manipulation with methods like HtmlEncode, HtmlDecode, RemoveExtraSpace, and LoremIpsum. Numeric extensions include calculations such as CompoundInterest and checks like IsPrime, IsEven, and IsOdd. The library also handles pattern matching with a Match method, URL parsing with GetUrlRoot and GetTenantUrl, and various encoding operations including MorseCodeBeep and QueryStringToDictionary.
The project targets C# developers looking to reduce boilerplate code and improve code readability. It includes features for system information retrieval like GetFQDN and GetExecutingAssemblyFolder, logging capabilities through a System.Logging extension, object serialization with Load and Save methods, and utility functions like NewCustomGuid for custom GUID generation. The library is available on NuGet and maintains an active community with communication channels on Discord and Gitter.