Click here to Skip to main content
15,892,005 members
Articles / Programming Languages / C#

Unknown size Numeric Arrays from Strings - dontumindit

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
13 Feb 2011CPOL 8.3K   1  
You can use Linq to do the same thing double[] mydouble = str.Split('#').Select(x => double.Parse(x)).ToArray();

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Wales Wales
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions