Assume we have a class called Student and is instantiated like below:
Dim studentX As Student = New Student(......)
It can be simplified to:
Dim studentX As New Student(......)
For a longer class name, it gets much more cleaner with the second case.
The analyzer should be able to do the same with Using statement as well.
Assume we have a class called
Studentand is instantiated like below:It can be simplified to:
For a longer class name, it gets much more cleaner with the second case.
The analyzer should be able to do the same with
Usingstatement as well.