This is the string i want to split: "Pesho=11;Gosho=4". I want this string to be 4 separate elements in a List:Pesho , 11, Gosho, 4. How do i do that?
>Solution :
Simply do a Split() on it, should solve your issue like so:
var results = "Pesho=11;Gosho=4".Split('=', ';');