سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top