From 5d6533c0b57a24ae873469af635aa60121210691 Mon Sep 17 00:00:00 2001 From: Daniel Castro Date: Mon, 5 Aug 2024 14:44:08 -0700 Subject: [PATCH] Minor typos --- concepts/extension-methods/about.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/extension-methods/about.md b/concepts/extension-methods/about.md index ebbbb8cade..e2331cc6b3 100644 --- a/concepts/extension-methods/about.md +++ b/concepts/extension-methods/about.md @@ -17,9 +17,9 @@ namespace MyExtensions // => 2 ``` -Extension methods are brought into scope at the namespace level. This means that if you are in different namespace to the one the extension method is defined in, it's namespace must be in a `using` directive first; For example, if we wanted to use the above example in our code, we would first need a `using MyExtensions` directive. If you are in the same namespace as the one the extension method is defined in, you can use the extension methods without a `using` directive. +Extension methods are brought into scope at the namespace level. This means that if you are in different namespace to the one the extension method is defined in, its namespace must be in a `using` directive first; for example, if we wanted to use the above example in our code, we would first need a `using MyExtensions` directive. If you are in the same namespace as the one the extension method is defined in, you can use the extension methods without a `using` directive. -A well-known example of extension methods are the [LINQ][linq] standard query operators that add query functionality to the existing IEnumerable types. To bring these into scope we need a `using System.Linq;` directives. +A well-known example of extension methods are the [LINQ][linq] standard query operators that add query functionality to the existing IEnumerable types. To bring these into scope we need a `using System.Linq;` directive. [linq]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/ [extension-methods]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods