Tips for golfing in Visual Basic .NET
Dim Variables implicitly as variants



VB.NET is capable of assuming object type at compile time - with numerics being dimmed into 32-bit spaces this means that 

Module M
Sub Main
Dim i As Byte
Dim j As Short
Dim k As Integer
Dim l As Long
For i=128To 2^8-1 Step 64
For j=2^7*i To 2^15-1 Step 64^2
For k=2^16*j To 2^31-1 Step 2^24
For l=2^31*k To 2^62-1 Step 2^48
Console.Write(i &amp; j &amp; k &amp; l)
Next
Next
Next
Next
End Sub
End Module


Try it online! (266 bytes)

May be trimmed down by dimming i, j, k as variants, (note that because the default numeric type of a variant is a 32 Bit Integer l must still be dimmed as a Long as it shall hold a 64 bit value)

Module M
Sub Main
Dim i,j,k,l As Long
For i=128To 2^8-1 Step 64
For j=2^7*i To 2^15-1 Step 64^2
For k=2^16*j To 2^31-1 Step 2^24
For l=2^31*k To 2^62-1 Step 2^48
Console.Write(i &amp;j &amp;k &amp;l)
Next
Next
Next
Next
End Sub
End Module


Try it online! (226 bytes)

or even further to 218  bytes by combining Next statements



Module M
Sub Main
Dim i,j,k,l As Long
For i=128To 2^8-1 Step 64
For j=2^7*i To 2^15-1 Step 64^2
For k=2^16*j To 2^31-1 Step 8^8
For l=2^31*k To 2^62-1 Step 2^48
Console.Write(i &amp;j &amp;k &amp;l)
Next l,k,j,i
End Sub
End Module


Try it online! (218 bytes)
For a total savings of 40 bytes without impacting the output.