YanthraLabs.Util
2.1.0
dotnet add package YanthraLabs.Util --version 2.1.0
NuGet\Install-Package YanthraLabs.Util -Version 2.1.0
<PackageReference Include="YanthraLabs.Util" Version="2.1.0" />
<PackageVersion Include="YanthraLabs.Util" Version="2.1.0" />
<PackageReference Include="YanthraLabs.Util" />
paket add YanthraLabs.Util --version 2.1.0
#r "nuget: YanthraLabs.Util, 2.1.0"
#:package YanthraLabs.Util@2.1.0
#addin nuget:?package=YanthraLabs.Util&version=2.1.0
#tool nuget:?package=YanthraLabs.Util&version=2.1.0
# Yanthralabs.Util
A collection of helpful utility classes and methods designed to streamline your .NET development.
## Getting Started
These instructions will help you get a copy of this project up and running on your local machine for development and usage.
### Prerequisites
- [.NET 5.0 or later](https://dotnet.microsoft.com/download) (or whichever version you are targeting)
- [Visual Studio 2019/2022](https://visualstudio.microsoft.com/downloads/) or any other C#-compatible IDE
- NuGet Package Manager (integrated in Visual Studio, or the [NuGet CLI](https://www.nuget.org/downloads))
## Installation
You can install the package directly from the NuGet Package Manager Console:
```powershell
PM> Install-Package Yanthralabs.Util
Alternatively, you can search for Yanthralabs.Util in the NuGet Package Manager GUI in Visual Studio, or add it to your .csproj file:
<PackageReference Include="Yanthralabs.Util" Version="x.x.x" />
Replace x.x.x with the latest available version.
Usage
After installing the NuGet package, you can include the utilities in your project files by adding the appropriate using statement. For example:
using Yanthralabs.Util;
namespace MyApplication
{
class Program
{
static void Main(string[] args)
{
// Example of using a utility method or class:
var result = UtilityClass.SampleMethod("Hello World");
Console.WriteLine(result);
}
}
}
Below is a brief explanation of some of the main functionalities provided by Yanthralabs.Util:
UtilityClass
- SampleMethod(string message): Brief description of what this method does.
- AnotherMethod(int number): Brief description of what this method does.
Extension Methods
- MyExtensions.IsValidEmail(string email): Brief description of what this method does.
- Add more extension methods as needed.
Note: Replace the classes and methods above with the actual names of the classes and methods from the package.
Examples
Below is a simple example showing how you might use multiple utilities:
using Yanthralabs.Util;
using System;
namespace MyApplication
{
class Program
{
static void Main(string[] args)
{
// Example: Validate a string as an email
string testEmail = "john.doe@example.com";
bool isValid = testEmail.IsValidEmail();
Console.WriteLine($"Is '{testEmail}' a valid email? {isValid}");
// Another example: Using a utility class method
var processedData = UtilityClass.ProcessData(42);
Console.WriteLine($"Processed Data: {processedData}");
}
}
}
Contributing
If you would like to contribute to Yanthralabs.Util, please follow these steps:
- Fork this repository.
- Create your feature branch:
git checkout -b feature/AmazingFeature. - Commit your changes:
git commit -m 'Add some AmazingFeature'. - Push to the branch:
git push origin feature/AmazingFeature. - Create a new Pull Request.
Versioning
We use Semantic Versioning for versioning. For the available versions, see the tags on this repository.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or run into any issues, feel free to open an issue on the GitHub repository or reach out to us directly. Happy coding!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. |
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.