Skip to content

Commit 8ac4940

Browse files
author
Ruben Schmidmeister
committed
Add example for readable conditions
1 parent 16f64ac commit 8ac4940

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Sandbox/ReadableConditions.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
3+
namespace Sandbox
4+
{
5+
public static class ReadableConditions
6+
{
7+
public static void Conditions()
8+
{
9+
if (10 == Environment.ExitCode)
10+
{
11+
}
12+
13+
if (10 <= Environment.ExitCode && Environment.ExitCode > 20)
14+
{
15+
}
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)