Common.BasicHelper.Cli 0.1.6866.394

dotnet tool install --global Common.BasicHelper.Cli --version 0.1.6866.394
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Common.BasicHelper.Cli --version 0.1.6866.394
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Common.BasicHelper.Cli&version=0.1.6866.394
nuke :add-package Common.BasicHelper.Cli --version 0.1.6866.394

<p align="center"> <a href="#" target="_blank" rel="noopener noreferrer"> <img width="128" src="" alt="Common.BasicHelper Logo"> </a> </p>

<h1 align="center">Common.BasicHelper</h1>

<p align="center"> <img alt="GitHub License" src=""> <img alt="GitHub workflow status" src=""></img> <img alt="Nuget" src=""> <img alt="Nuget" src=""> <img alt="GitHub issues" src=""> <img alt="GitHub pull requests" src=""> </p>

<p align="center"> <img src=""></img> </p>


Common.BasicHelper is a collection of helper functions for dotnet platform (C# mainly).

You can easily use it in your project through NuGet.

Via dotnet cli

dotnet add package Common.BasicHelper


We provide some samples in Commong.BasicHelper.Samples project.

To run this project, just run commands:

cd Common.BasicHelper.Samples
dotnet run

<details> <summary>The output will looks like ...</summary>


info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:<port>
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: <path>

<port> label is the port number of the server.

Then you can visit http://localhost:<port>/swagger/index.html to see the samples.





With Expression class and Calculator class, you can calculate your calculation. See examples of Expression class and Calculator class.


You can use follow namespace to use extensions:

using Common.BasicHelper.Utils.Extensions;

Such as extensions in QueueHelper:

var queue = new Queue<int>()
queue.Dump(); // Result will be "3 4 5 "

And you can execute a string as a system command:


And you can pass arguments through parameters args.


More extensions can be find in our docs later.

We will be appreciate if you can help us with docs site.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.1.6866.394 147 3/24/2024
0.1.6866.386 135 3/24/2024
0.1.6866.385 132 3/24/2024
0.1.6863.950 154 3/21/2024
0.1.6863.947 125 3/21/2024
0.1.6863.926 127 3/21/2024
0.1.6863.925 136 3/21/2024
0.1.6863.924 132 3/21/2024