In the old days, we name controls as lblFirstName, txtFirstName.
I'm seeing more and more full names like FirstNameLabel, FirstNameTextBox. Obviously, it doesn't make any different.
My question is whether Microsoft officially recommended using full name like FirstNameLabel.
If this question has been asked, please forgive me.
For UI Only objects such as a textbox or label; the convention of notating what sort of windows control it is is valid, and since it's been a tradition in .NET, I see no reason to change it. If your company has a different standard, use that standard; but for UI controls, the convention I've seen has always been to use the three letter prefix (I hesitate to call it hungarian notation, but that's the closest thing it resembles).
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