Skip to content

Commit

Permalink
Bigboybamo patch 2 (#41399)
Browse files Browse the repository at this point in the history
* Update access-modifiers.md

Added description for file access type modifier

* Update access-modifiers.md

Added description for file access modifier

* Update access-modifiers.md
  • Loading branch information
bigboybamo committed Jun 20, 2024
1 parent 0ffc581 commit f78236a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ To set the access level for a `class` or `struct` member, add the appropriate ke

Finalizers can't have accessibility modifiers. Members of an `enum` type are always `public`, and no access modifiers can be applied.

The `file` access modifier is allowed only on top-level (non-nested) type declarations.

## C# language specification

[!INCLUDE[CSharplangspec](~/includes/csharplangspec-md.md)]
Expand Down

0 comments on commit f78236a

Please sign in to comment.