I am passing an array as a parameter to my Action method in controller like
public ActionResult SearchDetails( string val)
{
var json = val;
Dictionary
}
my object contains the values in the format{id:1}{id:2} I want to retrieve only all "values"(no need to retrieve "Key" value) from my dictionary object using Linq query
how can i retrieve those values

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Aug 16, 2012, 8:32 PM EDT
sample:
class Program
{
static void Main(string[] args)
{
Dictionary
AuthorList.Add("Shakespeare", 35);
AuthorList.Add("Kelly", 25);
AuthorList.Add("Jonathan", 29);
List
foreach (Int16 title in liste)
{
Console.WriteLine(title);
}
Console.ReadKey();
}
}
VulpesRank #55 · 29.2K reputationPosted Aug 17, 2012, 12:23 AM EDT
So, in Santhosh's example, you can iterate through the values with: