Updated: 02 May 2023
Names of Method members
Methods are the means of taking action and therefore method names should be verbs or verb phrases.
public class String {
public int CompareTo(...);
public string[] Split(...);
public string Trim();
}
Names of Property members
Properties refer to data and as such should be given noun, noun phrase or adjective names.
Collection property names can be plural, followed by “List”, “Collection” etc.
Issers, Hassers, Canners
Use the affirmative e.g. CanMutate
rather than CantMutate
References
https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-type-members