Skip to content

LineSeries - 2.0.0-RC2 Enumerable vs 2.0.0-RC3.3 ICollection #1635

Discussion options

You must be logged in to vote

Hi you can use the CopyTo method:

ICollection values = new List<PilotInfo>();
var newValues = new PilotInfo[values.Count];
values.CopyTo(newValues, 0);

but in the next version of the library your current code will work, so probably you can just skip this update and wait for rc4

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@henrrymoraes83
Comment options

Answer selected by henrrymoraes83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants