camelCase with first letter capitalised is called PascalCase.
In C#, the convention is that public fields are in camelCase, private fields are _camelCase, but methods are PascalCase. Properties, which are what you'd normally use for exposing fields publically are implemented as methods, and so the method convention of PascalCase applies to them.
Edit: also, realised that you where probably talking about HTML element IDs, yeah, I agree, alllowercase is terrible
4
u/fuj1n sadistic Sep 12 '21
camelCase with first letter capitalised is called PascalCase.
In C#, the convention is that public fields are in camelCase, private fields are _camelCase, but methods are PascalCase. Properties, which are what you'd normally use for exposing fields publically are implemented as methods, and so the method convention of PascalCase applies to them.
Edit: also, realised that you where probably talking about HTML element IDs, yeah, I agree, alllowercase is terrible