SmartCalc 1.0.3
dotnet add package SmartCalc --version 1.0.3
NuGet\Install-Package SmartCalc -Version 1.0.3
<PackageReference Include="SmartCalc" Version="1.0.3" />
<PackageVersion Include="SmartCalc" Version="1.0.3" />
<PackageReference Include="SmartCalc" />
paket add SmartCalc --version 1.0.3
#r "nuget: SmartCalc, 1.0.3"
#:package SmartCalc@1.0.3
#addin nuget:?package=SmartCalc&version=1.0.3
#tool nuget:?package=SmartCalc&version=1.0.3
SmartCalc 😎
SmartCalc is a class library for simple mathematical operations.
Installation
- Install Visual Studio 2022 for Windows with a .NET Core-related workload.
- You can install the 2022 Community edition for free from visualstudio.microsoft.com, or use the Professional or Enterprise edition.
Prerequisites
- An understanding of C# and NuGet Packages
- Visual Studio
Usage
You can install this NuGet package into any .NET project if that package supports the same target framework as the project. To use SmartCalc in your project, kindly follow these steps:
Installation using Visual Studio
In the Solutions Explorer of your project, Right-click on project dependencies
Select manage Nuget packages
From the Browse tab, search for SmartCalc, select it in the list, and then select Install.
To install our package using the .NET CLI, run: dotnet add package SmartCalc --version 1.0.1
- In your project, simply instantiate the operations class before usage.
Sample
This is a sample of a mathematical operation in the package:
public int Addition(int a, int b)
{
return a + b;
}
Each method takes in two (2) parameters of type int and returns a value of type int too.
Demonstration
namespace CalcutexDemoLibraryClient
{
internal class Program
{
static void Main(string[] args)
{
Operations operation = new Operations();
var result = operation.Subtraction(10, 5);
Console.WriteLine(result);
var result2 = operation.Addition(10, 5);
Console.WriteLine(result2);
var result3 = operation.Multiplication(10, 5);
Console.WriteLine(result3);
var result4 = operation.Division(10, 5);
Console.WriteLine(result4);
var result5 = operation.Modulus(10, 4);
Console.WriteLine(result5);
}
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
-
net7.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.