What convention do you use for private class members?
I recently saw a channel 9 video where someone mentioned that instead of using an underscore to prefix the name of the variable you should use “this”. What is your preferred way to do it?
Also, is there any reason to use private fields over private properties? 🤔
0 comments:
Post a Comment