Skip to content

Commit 34329dd

Browse files
acidshardsguardrex
authored andcommitted
Misspelling in switch.md (dotnet#2771)
1 parent 306c608 commit 34329dd

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/language-reference/keywords

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/keywords/switch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ The constant expression is evaluated as follows:
149149

150150
- Otherwise, the value of the expression is determined by a call to the static [Object.Equals(expr, constant)](xref:System.Object.Equals(System.Object,System.Object)) method.
151151

152-
The following example uses the constant pattern to determine whether a particular date is a weekend, the first day of the work week, the last day of the work week, or the middle of the work week. It evalutes the [DateTime.DayOfWeek](xref:System.DateTime.DayOfWeek) property of the current day against the members of the @System.DayOfWeek enumeration.
152+
The following example uses the constant pattern to determine whether a particular date is a weekend, the first day of the work week, the last day of the work week, or the middle of the work week. It evaluates the [DateTime.DayOfWeek](xref:System.DateTime.DayOfWeek) property of the current day against the members of the @System.DayOfWeek enumeration.
153153

154154
[!code-cs[switch#7](../../../../samples/snippets/csharp/language-reference/keywords/switch/const-pattern.cs#1)]
155155

0 commit comments

Comments
 (0)