[dba-VB] C#: this.prefix

Gustav Brock Gustav at cactus.dk
Wed Jul 2 10:54:58 CDT 2008

Hi all

How rigorously are you prefixing controls and variables with "this."?

Is it a good or bad coding practice to use it when not strictly needed?
Do I understand it right, that it is only needed to separate, say, a method in the current namespace from an identically named and public method in another namespace?

I've found, that I use it a lot - old habit from "Me." in VBA, I guess.


More information about the dba-VB mailing list