I’d like avoid loop
I have this :
string s = "AAAA,12,BBBB,34,CCCCC,56";
With Linq, I’d like to have 2 List
In the first : AAAA, BBBB and CCCCC
In the second : 12,34 and 56
It’s not based on numeric or not numeric.
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
This is going to check if the index is even or odd.