Is prefixing Windows Forms control names with their type OK?
- by name
I have seen many responses that say that prefixing variables with their type is bad, since C# is statically typed and we have Intellisense, but I find that prefixing the names of the controls is useful because I don't need to remember the name of the controls or switch to the designer frequently.
For example:
btnLoad // Button
tbFilePath // TextBox
tvFileSystem // TreeView
Is this considered bad? If it is, what's the alternative?