Question

I would like to know if there is any way to add 1 to a numeric value as in C++ or C# by using for example

i++

I tried it, but it VB.NET's IDE did not like it.

Était-ce utile?

La solution

No, the shortest way to increment a value is i += 1

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top