Skip to content

Commit 19a1660

Browse files
committed
One more warning pass
1 parent 66127c8 commit 19a1660

File tree

1 file changed

+2
-2
lines changed
  • docs/csharp/tour-of-csharp/tutorials/snippets/PatternMatching

1 file changed

+2
-2
lines changed

docs/csharp/tour-of-csharp/tutorials/snippets/PatternMatching/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
Console.WriteLine($"{transaction.type} => Parsed Amount: {transaction.amount}, New Balance: {currentBalance}");
7676
}
7777

78-
// <UseRecords>
78+
// <TypePattern>
7979
currentBalance = 0.0;
8080

8181
foreach (var transaction in TransactionRecordType(bankRecords))
@@ -88,7 +88,7 @@
8888
};
8989
Console.WriteLine($" {transaction} => New Balance: {currentBalance}");
9090
}
91-
// </UseRecords>
91+
// </TypePattern>
9292

9393
// <ParseTransaction>
9494
static IEnumerable<(TransactionType type, double amount)> TransactionRecords(string inputText)

0 commit comments

Comments
 (0)