# Sudoku.Solver.Lite 1.0.1

.NET Standard 1.0
`Install-Package Sudoku.Solver.Lite -Version 1.0.1`
`dotnet add package Sudoku.Solver.Lite --version 1.0.1`
`<PackageReference Include="Sudoku.Solver.Lite" Version="1.0.1" />`
For projects that support PackageReference, copy this XML node into the project file to reference the package.
`paket add Sudoku.Solver.Lite --version 1.0.1`
`#r "nuget: Sudoku.Solver.Lite, 1.0.1"`
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
```// Install Sudoku.Solver.Lite as a Cake Addin

// Install Sudoku.Solver.Lite as a Cake Tool
#tool nuget:?package=Sudoku.Solver.Lite&version=1.0.1```

This is a portable and lightweight Sudoku solver implementation in C#. It supports .Net Standard 1.0.

How to use

int[,] grid =
{
{0, 0, 0, 0, 0, 0, 0, 6, 7},
{0, 0, 0, 9, 0, 7, 4, 0, 3},
{0, 6, 0, 0, 0, 0, 1, 9, 0},
{1, 0, 0, 0, 7, 3, 0, 0, 0},
{0, 0, 0, 4, 0, 6, 0, 0, 0},
{0, 0, 0, 8, 1, 0, 0, 0, 4},
{0, 2, 1, 0, 0, 0, 0, 5, 0},
{8, 0, 7, 1, 0, 9, 0, 0, 0},
{3, 5, 0, 0, 0, 0, 0, 0, 0}
};

bool solved = SudokuSolver.Solve(grid);

if (solved)
{
// Print out the solution
for (int i = 0; i < 9; i++)
{
for (int j = 0; j < 9; j++)
{
Console.Write(grid[i, j] + " ");
}
Console.WriteLine();
}
}
else
{
Console.WriteLine("No solution");
}

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)