<t>Access modifiers<br/>
<br/>
From learn.microsoft.com:<br/>
<br/>
public<br/>
<br/>
The type or member can be accessed by any other code in the same assembly or another assembly that references it.<br/>
<br/>
private<br/>
<br/>
The type or member can only be accessed by code in the same class or struct.<br/>
<br/>
protected<br/>
<br/>
The type or member can only be accessed by code in the same class or struct, or in a derived class.<br/>
<br/>
private protected (added in C# 7.2)<br/>
<br/>
The type or member can only be accessed by code in the same class or struct, or in a derived class from the same assembly, but not from another assembly.<br/>
<br/>
internal<br/>
<br/>
The type or member can be accessed by any code in the same assembly, but not from another assembly.<br/>
<br/>
protected internal<br/>
<br/>
The type or member can be accessed by any code in the same assembly, or by any derived class in another assembly.<br/>
<br/>
When no access modifier is set, a default access modifier is used. So there is always some form of access modifier even if it's not set.<br/>
<br/>
static modifier<br/>
<br/>
The static modifier on a class means that the class cannot be instantiated, and that all of its members are static. A static member has one version regardless of how many instances of its enclosing type are created.<br/>
<br/>
A static class is basically the same as a no<br/>
<br/>
(Réponse tronquée)</t>