I have following loop in C#
for (int i = 0; i <= n; d[i, 0] = i++)
{}
This is part of the levenshtein algorithm which I use but not clearly understand (off topic)
I need to translate this line to vb.net.
Cant seem to make sure which of both loops i need to use:
for i as integer to n step 1
d(i,0) = i
next
or
for i as integer to n step 1
d(i,0) = i +1
next
It would be:
In
d[i, 0] = i++,d[i, 0]gets the value ofibefore it’s incremented, so the VB loop should do the same.