Files
ortools-clone/examples/dotnet
Corentin Le Molgat c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
..
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2022-10-05 18:34:27 +02:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00
2025-01-10 11:33:35 +01:00

.NetCoreApp examples

The following examples showcase how to use OrTools.
The project solution has examples for C#.

We recommend that all projects you create target net6.0, as this allows you to compile for various frameworks and keep up-to-date with the latest frameworks.

Wherever you have or-tools installed, be sure to PackageReference the Google.OrTools from the project file.

Execution

Running the examples will involve building them, then running them.
You can run the following command:

dotnet build <example>.csproj
dotnet run --no-build --project <example>.csproj