Like title, running this code shows an array with all 0 values in it.
I have tried using integer array too but I can't
Dim woohoo(9) As String
Dim count As Integer = 2
For Each number As String In woohoo
number = CStr(count)
count += 2
Next
For Each number As Integer In woohoo
Console.WriteLine(number)
Next
2,4,6,8,10...20
Stringsand one treating them asIntegers? Make up your mind whether you want to work withStringsorIntegersand do it.numbervariable but that's not the array. If you want something in the array, put something in the array. You're not going to do that with aFor Eachloop, which is only for using items already in a list.For Eachloop for inserting data before. Now I understand, I'll refer to other For Loops.