String Parsing in C#

Posted by Betamoo on Stack Overflow See other posts from Stack Overflow or by Betamoo
Published on 2010-05-03T18:18:21Z Indexed on 2010/05/03 18:38 UTC
Read the original article Hit count: 256

What is the most efficient way to parse a C# string in the form of

"(params (abc 1.3)(sdc 2.0)....)"

into a struct in the form

struct Params
{
  double abc,sdc....;
}

Thanks

EDIT The structure always have the same parameters (number and names).. but the order is not granted..

© Stack Overflow or respective owner

Related posts about c#

Related posts about string