diff --git a/examples/dotnet/CMakeLists.txt b/examples/dotnet/CMakeLists.txt
index ee0ed492fe..ace2e87bf5 100644
--- a/examples/dotnet/CMakeLists.txt
+++ b/examples/dotnet/CMakeLists.txt
@@ -1,5 +1,5 @@
if(NOT BUILD_DOTNET_EXAMPLES)
- return()
+ return()
endif()
file(GLOB DOTNET_SRCS "*.cs")
diff --git a/examples/dotnet/NetworkRoutingSat.cs b/examples/dotnet/NetworkRoutingSat.cs
index 9bfb9e1d47..cfe3716ab2 100644
--- a/examples/dotnet/NetworkRoutingSat.cs
+++ b/examples/dotnet/NetworkRoutingSat.cs
@@ -128,7 +128,7 @@ public class NetworkRoutingSat
}
}
- private static(bool IsSet, string Value) getArgValue(string[] args, string arg)
+ private static (bool IsSet, string Value) getArgValue(string[] args, string arg)
{
string lookup = $"--{arg}=";
diff --git a/examples/dotnet/ShiftSchedulingSat.cs b/examples/dotnet/ShiftSchedulingSat.cs
index 6cf026fd7c..987095384a 100644
--- a/examples/dotnet/ShiftSchedulingSat.cs
+++ b/examples/dotnet/ShiftSchedulingSat.cs
@@ -380,7 +380,7 @@ public class ShiftSchedulingSat
/// base name for penalty literals. A tuple (costLiterals,
/// costCoefficients) containing the different penalties created by the
/// sequence constraint.
- static(IntVar[] costLiterals, int[] costCoefficients)
+ static (IntVar[] costLiterals, int[] costCoefficients)
AddSoftSequenceConstraint(CpModel model, IntVar[] works, int hardMin, int softMin, int minCost, int softMax,
int hardMax, int maxCost, string prefix)
{
@@ -473,7 +473,7 @@ public class ShiftSchedulingSat
/// base name for penalty literals. A tuple (costVariables,
/// costCoefficients) containing the different penalties created by the
/// sequence constraint.
- static(IntVar[] costVariables, int[] costCoefficients)
+ static (IntVar[] costVariables, int[] costCoefficients)
AddSoftSumConstraint(CpModel model, IntVar[] works, int hardMin, int softMin, int minCost, int softMax,
int hardMax, int maxCost, string prefix)
{