I have received the misfortune task of upgrading an old and cranky (as much as it's code) VB6 app to c#. in many places along the code I'm seeing this # symbol before a number and it seems like some sort of viable.
For example:
Dim line As String
f$ = File.Path + "\" + File.FileName
Open f$ For Input As #2
Line Input #2, a$
later he will use the a$ as the line value, but I can't see any use of the #2. so what exactly the 2# used for?