C# kodu:C# NameValueCollection ayrı değer
NameValueCollection nvc = new NameValueCollection();
nvc.Add("color", "red");
nvc.Add("size", "s");
nvc.Add("color", "red");
nvc.Add("size", "m");
nvc.Add("color", "red");
nvc.Add("size", "l");
//blue
nvc.Add("color", "blue");
nvc.Add("size", "m");
nvc.Add("color", "blue");
nvc.Add("size", "l");
//green
nvc.Add("color", "green");
nvc.Add("size", "s");
nvc.Add("color", "green");
nvc.Add("size", "m");
nvc.Add("color", "green");
nvc.Add("size", "l");
gerçek sonuç:
color:red,red,red,blue,blue,green,green,green
size:s,m,l,m,l,s,m,l
umut sonucu: sizin için
color:red,blue,green
size:s,m,l
Example
Çalışma. herhangi bir kod yazdınız mı Eğer öyleyse. –