From 5cc49af568f98e07fb2905d85159886a97897028 Mon Sep 17 00:00:00 2001 From: Roman Marusyk Date: Fri, 14 Oct 2022 01:51:52 +0300 Subject: [PATCH] Fix field name minimumBalance to _minimumBalance --- docs/csharp/fundamentals/tutorials/oop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/fundamentals/tutorials/oop.md b/docs/csharp/fundamentals/tutorials/oop.md index c0848516ed86e..19f8a03a092c6 100644 --- a/docs/csharp/fundamentals/tutorials/oop.md +++ b/docs/csharp/fundamentals/tutorials/oop.md @@ -152,7 +152,7 @@ public void MakeWithdrawal(decimal amount, DateTime date, string note) { throw new ArgumentOutOfRangeException(nameof(amount), "Amount of withdrawal must be positive"); } - if (Balance - amount < minimumBalance) + if (Balance - amount < _minimumBalance) { throw new InvalidOperationException("Not sufficient funds for this withdrawal"); }