I am using the following code to split a string:
string sss=\"125asdasdlkmlkdfknkldj125kdjfngdkjfndkg125ksndkfjdks125\"; List s = new List<
This confused me for a long time. Finally I realised that I had used double instead of single quotes. In other words, I had x.Split(",") rather than x.Split(',').
x.Split(",")
x.Split(',')
I changed to single quotes and it worked for me.