A casing technique in Visual Basic coding
Posted by: Keyvan Nayyeri,
on 17 Jul 2006 |
View original | Bookmarked: 0 time(s)
One of famous common easy techniques in Visual Basic casing structures which is familiar to most of Visual Basic developers is the ability to compare a value with several variables in Select Case statements.
It has been pointed many times but as I saw the lack of this technique in someone’s code write about it again here.
The base point is “You can compare a constant value with several variables instead of comparing a variable with several values”. Take...