is there a way i can do like this in vb.net
dim idx = -1
dim a = array(idx = idx + 1)
dim b = array(idx = idx + 1)
dim c = array(idx = idx + 1)
dim d = array(idx = idx + 1)
what i want is that idx keeps incrementing after each line, without incrementing it on a seperate line.
Thank you
++idxto add 1 to it before, e.g.dim a = array(++idx)