I said back in post #2 that an array element is basically just a variable. When you declare a variable of a reference type, what is it's value? It's Nothing, right? It refers to no object. If an array element is like a variable then it follows that, for a reference type array, each element refers to no object by default.
Quote Originally Posted by NinjaNic View Post
What would my options be if I hypothetically had a simple array?
Here's one:
vb.net Code:
  1. Dim colors = Enumerable.Range(1, arrayLength).
  2.                         Select(Function(n) Color.Black).
  3.                         ToArray()