From 51b2939a7aea4506d10fe1fa48dc240846748a75 Mon Sep 17 00:00:00 2001 From: Joseph Tong Date: Wed, 23 Apr 2025 11:56:30 -0500 Subject: [PATCH 1/2] Update introduction.md Fixed the last paragraph of the Attributes section so that the sentences are complete and make sense. It may not be all of the information originally intended, but it is all correct according to the .Net docs. --- exercises/concept/attack-of-the-trolls/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/attack-of-the-trolls/.docs/introduction.md b/exercises/concept/attack-of-the-trolls/.docs/introduction.md index 9fd05b23a0..74a106453b 100644 --- a/exercises/concept/attack-of-the-trolls/.docs/introduction.md +++ b/exercises/concept/attack-of-the-trolls/.docs/introduction.md @@ -17,7 +17,7 @@ class MyClass This declarative metadata only associates additional structured information to the code and does not modify its behavior, but that metadata is used by other part of the code to change how its target would behave or add, change or remove, restrict some its functionalities. -There are many [predefined and reserved attributes](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#conditional-attribute), for example: `Flags`, `Obsolete`, `Conditional`, each has a specific that can be looked up on the C# documentation. Note that the full name of an attribute like [`Flags`](https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute) +There are many [predefined and reserved attributes](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#conditional-attribute), for example: `Flags`, `Obsolete`, `Conditional`, and `Experimental`. Each has a specific semantic meaning that can be looked up on the C# documentation. Note that the full name of an attribute like [`Flags`](https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute) takes the form "\Attribute" (e.g. `FlagsAttribute`). ## Flag Enums From 8a54912e73f7ebf21030887b5b59d7ef40342bc6 Mon Sep 17 00:00:00 2001 From: Joseph Tong Date: Wed, 23 Apr 2025 12:42:42 -0500 Subject: [PATCH 2/2] Update exercises/concept/attack-of-the-trolls/.docs/introduction.md Co-authored-by: Erik Schierboom --- exercises/concept/attack-of-the-trolls/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/attack-of-the-trolls/.docs/introduction.md b/exercises/concept/attack-of-the-trolls/.docs/introduction.md index 74a106453b..615289b7ce 100644 --- a/exercises/concept/attack-of-the-trolls/.docs/introduction.md +++ b/exercises/concept/attack-of-the-trolls/.docs/introduction.md @@ -17,7 +17,7 @@ class MyClass This declarative metadata only associates additional structured information to the code and does not modify its behavior, but that metadata is used by other part of the code to change how its target would behave or add, change or remove, restrict some its functionalities. -There are many [predefined and reserved attributes](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#conditional-attribute), for example: `Flags`, `Obsolete`, `Conditional`, and `Experimental`. Each has a specific semantic meaning that can be looked up on the C# documentation. Note that the full name of an attribute like [`Flags`](https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute) takes the form "\Attribute" (e.g. `FlagsAttribute`). +There are many [predefined and reserved attributes](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#conditional-attribute), for example: `Flags`, `Obsolete`, `Conditional`, and `Experimental`. Each has a specific semantic meaning that can be looked up on the C# documentation. Note that the full name of an attribute like [`Flags`](https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute) takes the form `Attribute` (e.g. `FlagsAttribute`). ## Flag Enums