Unlike C#, there is no increment operator in Vb.Net, the +
/-
symbols are treated as positive/negative arithmetic signs (or sum/rest if wrote between blankspaces, or if wrote before an assignation symbol like +=
/-=
), however, you can acchieve what you want in a similar way using the System.threading.Interlocked.Increment function.
Imports System.Threading.Interlocked
Module Module1
Sub Main()
Dim value As Integer
For count As Integer = 1 To 5
Module1.Method(Increment(value))
Next count
End Sub
Sub Method(ByVal value As Integer)
Console.WriteLine(value)
End Sub
End Module