Skip to content

Commit 54aa835

Browse files
shethaaditAdit ShethBillWagner
authored
Add missing links for namespace aliases and extern alias in C# namespaces guide (#48060)
* Fixed bug 48043. * Update docs/csharp/fundamentals/types/namespaces.md --------- Co-authored-by: Adit Sheth <[email protected]> Co-authored-by: Bill Wagner <[email protected]>
1 parent 621b779 commit 54aa835

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/csharp/fundamentals/types/namespaces.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ Namespaces are heavily used in C# programming in two ways. First, .NET uses name
1818

1919
:::code language="csharp" source="snippets/namespaces/Program.cs" ID="Snippet23":::
2020

21-
For more information, see the [using Directive](../../language-reference/keywords/using-directive.md).
21+
For more information, see the [using directive](../../language-reference/keywords/using-directive.md).
22+
23+
You can also create an **alias** for a namespace or type using the [using alias directive](../../language-reference/keywords/using-directive.md#the-using-alias).
24+
In more advanced scenarios, you can reference multiple assemblies with the same namespaces or types by using the [extern alias](../../language-reference/keywords/extern-alias.md) feature.
2225

2326
[!INCLUDE [csharp10-templates](../../../../includes/csharp10-templates.md)]
2427

0 commit comments

Comments
 (0)