public static Dictionary <string, string> ToDictionary(INameValueCollection nvc) { var map = new Dictionary <string, string>(); for (var i = 0; i < nvc.Count; i++) { map[nvc.GetKey(i)] = nvc.Get(i); } return(map); }
public static Dictionary<string, string> ToDictionary(INameValueCollection nvc) { var map = new Dictionary<string, string>(); for (var i = 0; i < nvc.Count; i++) { map[nvc.GetKey(i)] = nvc.Get(i); } return map; }