From 1226b2a3145e130a63e81ba538682e3ae70b2df8 Mon Sep 17 00:00:00 2001 From: Yrahcaz7 <74512479+Yrahcaz7@users.noreply.github.com> Date: Mon, 23 Nov 2026 21:22:21 -0500 Subject: [PATCH 1/3] split paragraph & update link --- concepts/named-arguments/about.md | 2 +- concepts/named-arguments/introduction.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/concepts/named-arguments/about.md b/concepts/named-arguments/about.md index daf9728193..ff2acc3680 100644 --- a/concepts/named-arguments/about.md +++ b/concepts/named-arguments/about.md @@ -16,4 +16,4 @@ Card.Card(1999); // => "Happy 1999 from me!" Card.Card(sender: "mom"); // => "Happy 2020 from mom!" ``` -[named-arguments]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/named-and-optional-arguments#named-arguments +[named-arguments]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/named-and-optional-arguments#named-arguments diff --git a/concepts/named-arguments/introduction.md b/concepts/named-arguments/introduction.md index bf8a458058..6763157918 100644 --- a/concepts/named-arguments/introduction.md +++ b/concepts/named-arguments/introduction.md @@ -1,6 +1,7 @@ # Introduction -So far we have seen that the arguments passed into a method are matched to the method's declared parameters based on position. An alternative approach, particularly where a routine takes a large number of arguments, the caller can match arguments by specifying the declared parameter's identifier. +So far we have seen that the arguments passed into a method are matched to the method's declared parameters based on position. +An alternative approach, particularly where a routine takes a large number of arguments, the caller can match arguments by specifying the declared parameter's identifier. The following illustrates the syntax: From 716b89414bc27def47a4db15299d05a8f3fa6212 Mon Sep 17 00:00:00 2001 From: Yrahcaz7 <74512479+Yrahcaz7@users.noreply.github.com> Date: Mon, 23 Nov 2026 21:23:04 -0500 Subject: [PATCH 2/3] fix about.md example --- concepts/named-arguments/about.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/named-arguments/about.md b/concepts/named-arguments/about.md index ff2acc3680..2b21acbff5 100644 --- a/concepts/named-arguments/about.md +++ b/concepts/named-arguments/about.md @@ -12,8 +12,8 @@ class Card } Card.NewYear(); // => "Happy 2020 from me!" -Card.Card(1999); // => "Happy 1999 from me!" -Card.Card(sender: "mom"); // => "Happy 2020 from mom!" +Card.NewYear(1999); // => "Happy 1999 from me!" +Card.NewYear(sender: "mom"); // => "Happy 2020 from mom!" ``` [named-arguments]: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/named-and-optional-arguments#named-arguments From b36c62edb04149c3abf1264a742e0a6d2b995c67 Mon Sep 17 00:00:00 2001 From: Yrahcaz7 <74512479+Yrahcaz7@users.noreply.github.com> Date: Mon, 23 Nov 2026 21:28:16 -0500 Subject: [PATCH 3/3] improve introduction & update contributors array --- concepts/named-arguments/.meta/config.json | 3 ++- concepts/named-arguments/introduction.md | 3 ++- .../concept/wizards-and-warriors-2/.docs/introduction.md | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/concepts/named-arguments/.meta/config.json b/concepts/named-arguments/.meta/config.json index 52ac76e601..a560437f39 100644 --- a/concepts/named-arguments/.meta/config.json +++ b/concepts/named-arguments/.meta/config.json @@ -4,6 +4,7 @@ "ErikSchierboom" ], "contributors": [ - "yzAlvin" + "yzAlvin", + "yrahcaz7" ] } diff --git a/concepts/named-arguments/introduction.md b/concepts/named-arguments/introduction.md index 6763157918..aa878fa153 100644 --- a/concepts/named-arguments/introduction.md +++ b/concepts/named-arguments/introduction.md @@ -1,7 +1,8 @@ # Introduction So far we have seen that the arguments passed into a method are matched to the method's declared parameters based on position. -An alternative approach, particularly where a routine takes a large number of arguments, the caller can match arguments by specifying the declared parameter's identifier. +An alternative approach is for the caller to match arguments by specifying the declared parameter's identifier. +This is particularly useful where a routine takes a large number of arguments. The following illustrates the syntax: diff --git a/exercises/concept/wizards-and-warriors-2/.docs/introduction.md b/exercises/concept/wizards-and-warriors-2/.docs/introduction.md index 823d4a79e9..cf18103d67 100644 --- a/exercises/concept/wizards-and-warriors-2/.docs/introduction.md +++ b/exercises/concept/wizards-and-warriors-2/.docs/introduction.md @@ -13,7 +13,9 @@ The compiler will automatically infer which overloaded method to call based on t ## Named Arguments -So far we have seen that the arguments passed into a method are matched to the method's declared parameters based on position. An alternative approach, particularly where a routine takes a large number of arguments, the caller can match arguments by specifying the declared parameter's identifier. +So far we have seen that the arguments passed into a method are matched to the method's declared parameters based on position. +An alternative approach is for the caller to match arguments by specifying the declared parameter's identifier. +This is particularly useful where a routine takes a large number of arguments. The following illustrates the syntax: