Developer technologies | VB
An object-oriented programming language developed by Microsoft that can be used in .NET.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
Using FS As New FileStream(file, FileMode.Open, FileAccess.Read)
vs
Using FS As FileStream = New FileStream(file, FileMode.Open, FileAccess.Read)
Any difference?!
An object-oriented programming language developed by Microsoft that can be used in .NET.
Answer accepted by question author
It seems that the first variant is a short version, because if you press <Ctrl+.> or <Alt+Enter> on second line, Visual Studio suggests you to simplify it, obtaining the first variant.
There is no difference at run-time.