What is the actual error and where are you trying to put the array?
Also, does it do the same with other similar collection types like a List(Of TimeSpan)?
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
What I'm talking about is either individual TimeSpans (or Timers) or a collection (like a List(Of TimeSpan) or List(Of Timers))
Dim lstTimeSpan As New List(Of TimeSpan) From {
New TimeSpan(1, 1, 1),
New TimeSpan(),
New TimeSpan()
}
lstTimeSpan.Add(New TimeSpan(2, 0, 0)) ' 4th timespan in the collection
Dim lstTimers As New List(Of Timer) From {
New Timer(),
New Timer()
}
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402