I'm creating a class. What's the best practice for naming properties/methods when your preferred name is a reserved word?
I usually try to think of some synonymous alternative word, or variation, though it doesn't sound like that is applicable for you.
Alternatively, you can use the '@' prefix (in C#) or [square braces] (in VB.NET) to explicitly avoid the conflict with reserved words in the language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With