From 016b8b7d3816afe22a07ca3cd585ff27cb769e71 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Sat, 16 Sep 2023 13:16:42 +0200 Subject: [PATCH 1/2] Update access-modifiers.md --- src/content/resources/language/c-sharp/access-modifiers.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/content/resources/language/c-sharp/access-modifiers.md b/src/content/resources/language/c-sharp/access-modifiers.md index d16b4958..efdcf5d5 100644 --- a/src/content/resources/language/c-sharp/access-modifiers.md +++ b/src/content/resources/language/c-sharp/access-modifiers.md @@ -1,11 +1,13 @@ --- authors: - "Stone_Red#0001" -created_at: 2021/08/07 +created_at: 2023/09/16 title: Access Modifiers external_resources: - text: Access Modifiers - href: "https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers" + href: "https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/access-modifiers" + - text: Accessibility Levels + href: "https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/accessibility-levels" --- ## Availible access modifiers @@ -16,6 +18,7 @@ external_resources: - **internal:** The type or member can be accessed by any code in the same assembly, but not from another assembly. - **protected internal:** The type or member can be accessed by any code in the assembly in which it's declared, or from within a derived class in another assembly. - **private protected:** The type or member can be accessed only within its declaring assembly, by code in the same class or in a type that is derived from that class. +- **file** The declared type is only visible in the current source file. File scoped types are generally used for source generators. ## Why not use _public_ for everything? From 692a6d70ec8ba025231f86675fd9335eebb54490 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Sat, 16 Sep 2023 13:16:48 +0200 Subject: [PATCH 2/2] Update intro.md --- src/content/resources/language/c-sharp/intro.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/content/resources/language/c-sharp/intro.md b/src/content/resources/language/c-sharp/intro.md index d1e76995..3f9150a6 100644 --- a/src/content/resources/language/c-sharp/intro.md +++ b/src/content/resources/language/c-sharp/intro.md @@ -3,18 +3,20 @@ authors: - "Stone_Red#0001" - "HueByte#0001" - "sfn#3771" - - "Draxis#1559" -created_at: 2021/08/07 + - "Draxis#6666" +created_at: 2023/09/16 title: C# --- ###### Documentation - [C# docs](https://docs.microsoft.com/en-us/dotnet/csharp/) +- [What's new?](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new) ###### Tutorials - [Introduction to C#](https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/intro-to-csharp/) +- [A tour of the C# language](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/) - [C# Fundamentals Development for Absolute Beginners:](https://channel9.msdn.com/Series/CSharp-Fundamentals-for-Absolute-Beginners) - [AngelSix's C# Beginner's course](https://www.youtube.com/watch?v=STw363BHviY&list=PLrW43fNmjaQXhWOKalftye87ObZA-xNIJ)