We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1eb72b commit 1c9e9b6Copy full SHA for 1c9e9b6
docs/csharp/fundamentals/functional/snippets/patterns/Simulation.cs
@@ -57,11 +57,11 @@ public State PerformOperation(ReadOnlySpan<char> command) =>
57
string WaterState(int tempInFahrenheit) =>
58
tempInFahrenheit switch
59
{
60
- (> 32) and (< 212) => "liquid",
61
< 32 => "solid",
62
- > 212 => "gas",
63
32 => "solid/liquid transition",
+ (> 32) and (< 212) => "liquid",
64
212 => "liquid / gas transition",
+ > 212 => "gas",
65
};
66
// </RelationalPattern>
67
0 commit comments