dict = (from item in fullGatetayResponse.Split(',') let pair = item.Split('=') select pair).ToDictionary(x => x[0], x => x[1]);
or, if you want to preserve the existence of a hidden array:
dict = (from item in fullGatetayResponse.Split(',') let pair = item.Split('=') select new{Key=pair[0],Value=pair[1]).ToDictionary(x=>x.Key,x=>x.Value);
source share