DavidGroup.Core.Utilities
1.0.1
dotnet add package DavidGroup.Core.Utilities --version 1.0.1
NuGet\Install-Package DavidGroup.Core.Utilities -Version 1.0.1
<PackageReference Include="DavidGroup.Core.Utilities" Version="1.0.1" />
<PackageVersion Include="DavidGroup.Core.Utilities" Version="1.0.1" />
<PackageReference Include="DavidGroup.Core.Utilities" />
paket add DavidGroup.Core.Utilities --version 1.0.1
#r "nuget: DavidGroup.Core.Utilities, 1.0.1"
#:package DavidGroup.Core.Utilities@1.0.1
#addin nuget:?package=DavidGroup.Core.Utilities&version=1.0.1
#tool nuget:?package=DavidGroup.Core.Utilities&version=1.0.1
DavidGroup.Core.Utilities
A productivity library that accelerates .NET project development by providing ready-to-use helpers for common application needs.
🚀 Getting Started
Install NuGet Package
Using the .NET CLI:
dotnet add package DavidGroup.Core.Utilities
Or via the Package Manager Console:
Install-Package DavidGroup.Core.Utilities
How to use it?
Feel free to explore the samples to find practical examples for each feature. New samples are added continuously as more features are developed.
📦 Key Features
Code generator
string code = CodeGenerator.GenerateCode(); // Example output: "A7kP2mX9"
String helpers
string propertyName = StringHelper.FirstCharToLower("UserName"); // Output: "userName"
Enum helpers
public enum Status
{
Pending,
Completed
}
Status status = "completed".ToEnum(Status.Pending);
Console.WriteLine(status); // Output: Completed
Other helpers
CalculateAge()
DateTime birthDate = new(1995, 8, 15);
int age = birthDate.CalculateAge();
Console.WriteLine(age);
// Output: 30 (depending on the current date)
Map()
decimal progress = 50m.Map(0m, 100m, 0m, 1m);
Console.WriteLine(progress);
// Output: 0.5
IsInRange()
bool isWithin = CommonUtilities.IsInRange(1, 10, 3, 7);
Console.WriteLine(isWithin);
// Output: True
🤝 Contributing
Found a bug? Have an idea? Want to contribute?
- Submit an issue: https://github.com/david-group-solutions/utilities/issues
- Create a pull request: https://github.com/david-group-solutions/utilities/pulls
Contributions of any size are appreciated!
📝 License
Distributed under the MIT license. See License for more information.
Copyright © 2025-2026 David Khachatryan (David Group Solutions)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DavidGroup.Core.Utilities:
| Package | Downloads |
|---|---|
|
DavidGroup.Core.DataAccess
Foundation library containing data access abstractions, patterns, and helper extensions for .NET applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.