Why doesn't this work?:


Code:
Dim sarray() As String = Nothing

Dim inc As Integer = -1

For each something in something

inc += 1
sarray.SetValue(something.value, inc) 'Error: Object reference not set to an instance of an object.

Next
plz help