cjvandyk/Extensions ↗
Created Dec 29, 2025 · View the cjvandyk/Extensions repository page
Extensions.dll contains extension methods that enhance existing C# classes thus making life easier for developers.
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
2
Lines of Code
23,191
From
Jan 31, 2021
To
May 3, 2024
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.