When I generate a new class in Visual Studio (C#), I would like to have the default access modifier changed from "internal" to "public". E.g.:
public class Animal
{
}
instead of:
internal class Animal
{
}
Is there a setting in Visual Studio (2022) where the default access modifier for new classes can be set?
You can change it at
%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class