title: Visual Basic 2008 - color
body: <p>I have the following code, but I don't have any idea what happens in this code. So I don't know how to prepare an interface for this. Someone please tell me what the purpose of the array "Mylist" is. I haven't worked with "color" keyword before. Thanks in advance</p>
  
  <pre><code>    Dim Mylist(4) As Color
      Dim i As Integer
  
      For i = 0 To 4
          If i Mod 2 = 0 Then
              Mylist(i) = Color.White
          Else
              Mylist(i) = Color.Red
          End If
      Next
  </code></pre>