In Blazor when I have a private field / property in the code that will be used in the diplay / razor page, should it have a naming convention of camelcase (e.g. someVariable) or should I have an underscore with camel case (e.g. _anotherVariable).
E.g. in code
private string someVariable {get; set;}
private string _anotherVariable {get; set;}
in razor
I've found documentation for both styles - just looking for what's considered 'best' in the community of Blazor.
Other questions I have - should the variables be marked 'private' or 'protected' and do they need to be properties with the {get; set;} or should I only do this for public properties??
Thanks in advance for helping me straighten this out.
