Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

namevaluecollection

using System;
using System.Collections.Specialized;				
public class Program
{
	public static void Main()
	{
		var name = new NameValueCollection();
		name.Add("loka", "toka");
		name.Add("loka", "tunk");
		for(int i=0; i<name.Count; i++){
			Console.WriteLine(name.GetKey(i)+" "+name.Get(i));
		}
	}
}

// output: loka toka,tunk
Source by dotnetfiddle.net #
 
PREVIOUS NEXT
Tagged: #namevaluecollection
ADD COMMENT
Topic
Name
7+6 =