chore: format corrections

This commit is contained in:
Oli Sturm
2023-10-20 10:10:20 +01:00
parent a2d1e4adc2
commit 0957d0c6ed
11 changed files with 110 additions and 31 deletions
+5 -4
View File
@@ -1,4 +1,6 @@
namespace CS11 {
// ReSharper disable All
namespace CS11 {
class Program {
static void Main(string[] args) {
int[] numbers = { 1, 3, 42 };
@@ -40,10 +42,9 @@
}
// Now we're talking
static int Sum(int[] l) => l switch
{
static int Sum(int[] l) => l switch {
[] => 0,
[var x, .. var xs] => x + Sum(xs)
};
}
}
}