Both methods below work fine in VB.NET, it's doesn't do anything as such, just showing different syntax. What I want to know is, Is there a difference ?

Once I add the 'import' it will then allow me to go either 'dir' or 'vb.dir', are they both doing exactly the same thing ? Which one is prefered ? Is it just syntax ? Or something else ?

Thanks

Imports VB = Microsoft.VisualBasic

METHOD 1:

Dim Test As String
Test = Dir("C:\")
Test = "1234567"
If IsNumeric(Test) Then
'...
End If
Test = Format(Test, "#,###,###")

METHOD 2:

Dim Test As String
Test = VB.Dir("C:\")
Test = "1234567"
If VB.IsNumeric(Test) Then
'...
End If
Test = VB.Format(Test, "#,###,###")