Curious ... I've recently been doing some parsing of some old file structures and in the process put in a little trick I remembered using in the VB3-6 days. Only it doesn't work in .NET 2.0 like that anymore. That made me wonder if I really was remembering the past correctly (not exactly my strong suit!).
In the VB3-6 days when MyVarWithNumber9InIt = 9 then it would go through both case statements for 9 in the select case block. In .NET 2.0 it goes through the first case for 9 then jumps out.
Select case MyVarWithNumber9InIt
'do case 1 stuff
'do case 2 stuff
'do case 9 stuff
'do case 3 stuff
'do case stuff
Does anyone else remember this type of behavior from the past? Did the same type of behavior exist in the past for the Switch statement in C or was this a "feature" of the VB3-6 runtime?