В VB.NET
Импортирует System.Linq
Dim n As Integer = 10 Dim colorArray = New Color(n - 1) {}.[Select](Function(item) Color.White).ToArray()