-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
ferdi kurnaz edited this page Aug 27, 2026
·
2 revisions
Resultron is published on NuGet, so adding it to your project is easy.
- .NET SDK that supports .NET 10 (the library targets
net10.0). - A C# project (console app, web API, class library, etc.).
Open a terminal in your project folder and run:
dotnet add package Resultron- Right-click your project in Solution Explorer.
- Select Manage NuGet Packages...
- Search for Resultron.
- Click Install.
You can also add it directly inside your .csproj file:
<ItemGroup>
<PackageReference Include="Resultron" Version="*" />
</ItemGroup>Replace * with the exact version you want, for example 1.4.1.
Once installed, add this line at the top of your C# file:
using Resultron;Now you can use Result, Result<T>, and Error in your code.
Try this small test in a console app:
using Resultron;
var result = Result.Success();
Console.WriteLine(result.IsSuccess); // TrueIf this prints True, the installation worked correctly.
Next: learn about the Core Concepts of the library.