From ba2f4422c7f3c906361ba27ca3b1d563a61ed426 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Tue, 10 Dec 2024 09:46:58 -0500 Subject: [PATCH 1/2] Fix MD link Fixes anonymous feedback. --- docs/csharp/language-reference/keywords/get.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/keywords/get.md b/docs/csharp/language-reference/keywords/get.md index fb3e889387a27..57a19ede0bbae 100644 --- a/docs/csharp/language-reference/keywords/get.md +++ b/docs/csharp/language-reference/keywords/get.md @@ -10,7 +10,7 @@ helpviewer_keywords: --- # The `get` keyword -The `get` keyword defines an *accessor* method in a property or indexer that returns the property value or the indexer element. For more information, see [Properties](../../programming-guide/classes-and-structs/properties.md), [Automatically implemented Properties](../../programming-guide/classes-and-structs/automatically implemented-properties.md), and [Indexers](../../programming-guide/indexers/index.md). +The `get` keyword defines an *accessor* method in a property or indexer that returns the property value or the indexer element. For more information, see [Properties](../../programming-guide/classes-and-structs/properties.md), [Automatically implemented Properties](../../programming-guide/classes-and-structs/automatically-implemented-properties.md), and [Indexers](../../programming-guide/indexers/index.md). For simple cases in which a property's `get` and `set` accessors perform no other operation than setting or retrieving a value in a private backing field, you can take advantage of the C# compiler's support for automatically implemented properties. The following example implements `Hours` as an automatically implemented property. From 28e891c88680133c938adb9485b6117d117a8c2a Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Tue, 10 Dec 2024 11:01:22 -0500 Subject: [PATCH 2/2] Update docs/csharp/language-reference/keywords/get.md --- docs/csharp/language-reference/keywords/get.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/language-reference/keywords/get.md b/docs/csharp/language-reference/keywords/get.md index 57a19ede0bbae..a2bb1724e2e0a 100644 --- a/docs/csharp/language-reference/keywords/get.md +++ b/docs/csharp/language-reference/keywords/get.md @@ -10,7 +10,7 @@ helpviewer_keywords: --- # The `get` keyword -The `get` keyword defines an *accessor* method in a property or indexer that returns the property value or the indexer element. For more information, see [Properties](../../programming-guide/classes-and-structs/properties.md), [Automatically implemented Properties](../../programming-guide/classes-and-structs/automatically-implemented-properties.md), and [Indexers](../../programming-guide/indexers/index.md). +The `get` keyword defines an *accessor* method in a property or indexer that returns the property value or the indexer element. For more information, see [Properties](../../programming-guide/classes-and-structs/properties.md), [Automatically implemented Properties](../../programming-guide/classes-and-structs/auto-implemented-properties.md), and [Indexers](../../programming-guide/indexers/index.md). For simple cases in which a property's `get` and `set` accessors perform no other operation than setting or retrieving a value in a private backing field, you can take advantage of the C# compiler's support for automatically implemented properties. The following example implements `Hours` as an automatically implemented property.