From 6d6648755a39c4d3cfacb2b73421f94cadb208df Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Thu, 17 Aug 2023 14:18:55 +0300 Subject: [PATCH 01/11] Fixed Tuples link --- .../practice/palindrome-products/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/palindrome-products/.docs/instructions.append.md b/exercises/practice/palindrome-products/.docs/instructions.append.md index 720fab84ec..7b4fc421c0 100644 --- a/exercises/practice/palindrome-products/.docs/instructions.append.md +++ b/exercises/practice/palindrome-products/.docs/instructions.append.md @@ -1,4 +1,4 @@ # Hints For this exercise, you will need to create a set of factors using tuples. -For more information on tuples, see [this link](https://docs.microsoft.com/en-us/dotnet/api/system.tuple +For more information on tuples, see [this link](https://docs.microsoft.com/en-us/dotnet/api/system.tuple). From b4d20f9f6b25d0bd08fd586033c47b9e18c67bfe Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Thu, 17 Aug 2023 14:27:46 +0300 Subject: [PATCH 02/11] Fixed Linq link --- .../.articles/is-palindrome-check/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/palindrome-products/.articles/is-palindrome-check/content.md b/exercises/practice/palindrome-products/.articles/is-palindrome-check/content.md index becf8f215e..577fd99971 100644 --- a/exercises/practice/palindrome-products/.articles/is-palindrome-check/content.md +++ b/exercises/practice/palindrome-products/.articles/is-palindrome-check/content.md @@ -183,6 +183,6 @@ And so, with performance so close, you can choose the one which is easiest to un [benchmark-link]: https://benchmarkdotnet.org/ [extension-methods-link]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods [interpolation-link]: https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/string-interpolation -[linq-linl]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/ +[linq-link]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/ [modulo-division-link]: https://en.wikipedia.org/wiki/Modulo -[benchmark-source-code]: https://github.com/exercism/csharp/blob/main/exercises/practice/palindrome-products/.articles/is-palindrome-check/code \ No newline at end of file +[benchmark-source-code]: https://github.com/exercism/csharp/blob/main/exercises/practice/palindrome-products/.articles/is-palindrome-check/code From b031187b0487b4194cfececcf40bb0eb22b91fe2 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Thu, 17 Aug 2023 15:02:16 +0300 Subject: [PATCH 03/11] Fixed Decimal link --- exercises/practice/bank-account/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/bank-account/.docs/instructions.append.md b/exercises/practice/bank-account/.docs/instructions.append.md index f18e59444a..3b20e94cf1 100644 --- a/exercises/practice/bank-account/.docs/instructions.append.md +++ b/exercises/practice/bank-account/.docs/instructions.append.md @@ -1,4 +1,4 @@ # Hints -This exercise requires you to handle data related to currency and money. A normal approuch is to use the [Decimal](https://docs.microsoft.com/en-us/dotnet/api/system.decimal +This exercise requires you to handle data related to currency and money. A normal approuch is to use the [Decimal](https://docs.microsoft.com/en-us/dotnet/api/system.decimal). Note though that you then only store the numeric value of a currency. From 1eec73cc2187af18b801d3ac1712c860c704d4f3 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Thu, 17 Aug 2023 15:56:05 +0300 Subject: [PATCH 04/11] Removed extra colon --- exercises/practice/bank-account/.approaches/mutex/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/bank-account/.approaches/mutex/content.md b/exercises/practice/bank-account/.approaches/mutex/content.md index 1b5eb22c42..0fe73a77bc 100644 --- a/exercises/practice/bank-account/.approaches/mutex/content.md +++ b/exercises/practice/bank-account/.approaches/mutex/content.md @@ -93,7 +93,7 @@ For that, we can use the [`Mutex`class][mutex], which allows programmatically re This ensures that there is never any concurrent execution of the code within the mutex's restricted scope. Any other process wanting to execute the same code is halted until the currently executing process is done executing the mutex's code block. -Let's define an instance of the `Mutex` class:: +Let's define an instance of the `Mutex` class: ```csharp private readonly Mutex _mutex = new Mutex(); From 51235a88157a6d837e27322f48a68a6f8626e89a Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Fri, 18 Aug 2023 22:35:00 +0300 Subject: [PATCH 05/11] Added missed link for expression bodied method --- .../practice/two-fer/.approaches/method-overloading/content.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/practice/two-fer/.approaches/method-overloading/content.md b/exercises/practice/two-fer/.approaches/method-overloading/content.md index 93b41deae6..a157b7a472 100644 --- a/exercises/practice/two-fer/.approaches/method-overloading/content.md +++ b/exercises/practice/two-fer/.approaches/method-overloading/content.md @@ -71,3 +71,4 @@ The main alternative to using method overloads is to use an [optional parameter [optional-parameters-introduction]: https://learn.microsoft.com/en-us/archive/msdn-magazine/2010/july/csharp-4-0-new-csharp-features-in-the-net-framework-4#named-arguments-and-optional-parameters [method-overloading]: https://www.pluralsight.com/guides/overload-methods-invoking-overload-methods-csharp [string-interpolation]: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated +[expression-bodied-method]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/expression-bodied-members#methods From 5502bc356ffe59be8fc4f5ae26953cecff0cb1f8 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Sat, 19 Aug 2023 14:23:50 +0300 Subject: [PATCH 06/11] Fixed broken link for Dictionary --- .../practice/nucleotide-count/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/nucleotide-count/.docs/instructions.append.md b/exercises/practice/nucleotide-count/.docs/instructions.append.md index cc20c73050..cca0df5ecf 100644 --- a/exercises/practice/nucleotide-count/.docs/instructions.append.md +++ b/exercises/practice/nucleotide-count/.docs/instructions.append.md @@ -1,4 +1,4 @@ # Hints This exercise requires the use of a Dictionary. For more information see -[this page.](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2 +[this page](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.idictionary-2). From 3052568d8b5c33241116fe6834610452b2bd2514 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Sat, 19 Aug 2023 14:29:50 +0300 Subject: [PATCH 07/11] Removed extra line --- exercises/practice/bob/.approaches/answer-array/content.md | 1 - 1 file changed, 1 deletion(-) diff --git a/exercises/practice/bob/.approaches/answer-array/content.md b/exercises/practice/bob/.approaches/answer-array/content.md index a61cde9e27..cebe2cd4ce 100644 --- a/exercises/practice/bob/.approaches/answer-array/content.md +++ b/exercises/practice/bob/.approaches/answer-array/content.md @@ -37,7 +37,6 @@ To test a string that might be `null` or only whitespace, the [IsNullOrWhiteSpac The first half of the shout condition ```csharp - input.Any(c => char.IsLetter(c)) && input.ToUpper() == input ``` From 622be9f80d63ea11cb21d626539ae6be949297fd Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Wed, 23 Aug 2023 15:56:43 +0300 Subject: [PATCH 08/11] Fixed link for Equals --- exercises/practice/dot-dsl/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/dot-dsl/.docs/instructions.append.md b/exercises/practice/dot-dsl/.docs/instructions.append.md index dd18215c58..490f4c11dd 100644 --- a/exercises/practice/dot-dsl/.docs/instructions.append.md +++ b/exercises/practice/dot-dsl/.docs/instructions.append.md @@ -1,3 +1,3 @@ # Hints -This exercise requires you to implement classes with a custom equality check. For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/api/system.object.equals +This exercise requires you to implement classes with a custom equality check. For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/api/system.object.equals). From 5b0cde94a55b32f62dbcfc22bd523ca264ec3df8 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Sun, 27 Aug 2023 15:56:04 +0300 Subject: [PATCH 09/11] Fixed Tuples Link --- exercises/practice/word-search/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/word-search/.docs/instructions.append.md b/exercises/practice/word-search/.docs/instructions.append.md index 7b7eac870a..c168ff4c74 100644 --- a/exercises/practice/word-search/.docs/instructions.append.md +++ b/exercises/practice/word-search/.docs/instructions.append.md @@ -3,4 +3,4 @@ One of the uses of Tuples is returning multiple values from a function. In this exercise, write a function that returns a Tuple (the x- and y- part of a coordinate). -For more information on Tuples, see [this link](https://docs.microsoft.com/en-us/dotnet/api/system.tuple +For more information on Tuples, see [this link](https://docs.microsoft.com/en-us/dotnet/api/system.tuple). From 0c0fca11b41ac5f0dcbd9bb7c8ace58bd08fa225 Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Sat, 16 Sep 2023 15:46:02 +0300 Subject: [PATCH 10/11] Fixed Equals link --- exercises/practice/custom-set/.docs/instructions.append.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/custom-set/.docs/instructions.append.md b/exercises/practice/custom-set/.docs/instructions.append.md index ea0522bffc..61c7479f8b 100644 --- a/exercises/practice/custom-set/.docs/instructions.append.md +++ b/exercises/practice/custom-set/.docs/instructions.append.md @@ -1,4 +1,4 @@ # Hints This exercise requires you to create custom equality comparison logic. -For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/api/system.object.equals +For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/api/system.object.equals). From f06cde303a948ef43cd667502d87cd154c1f6d1a Mon Sep 17 00:00:00 2001 From: Hanna Borodina Date: Sat, 16 Sep 2023 15:49:31 +0300 Subject: [PATCH 11/11] Fixed link for Integer Score Approach --- exercises/practice/poker/.approaches/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/poker/.approaches/introduction.md b/exercises/practice/poker/.approaches/introduction.md index a11d9bdce8..19400c1852 100644 --- a/exercises/practice/poker/.approaches/introduction.md +++ b/exercises/practice/poker/.approaches/introduction.md @@ -27,7 +27,7 @@ record Hand(Card[] Cards) ``` This approach assign a single integer score to each hand, which makes finding the best hand(s) quite straightforward. -For more information, check the [integer score approach][approach-icomparer]. +For more information, check the [integer score approach][approach-integer-score]. ## Approach: `IComparer`