I am having dictionary in global.asax int the form given below -
Dictionary<int, Actor> actors = new Dictionary<int, Actor>
{
{1,new Actor{ActorId = 1,ActorName= "Rajanikant", BirthDate =DateTime.Parse("12-12-1949"), BirthPlace ="Bangalore", Photo ="~/Images/1.jpg", Movies = new List<string>{"Shivaji (2007)","Baba (2002)","ChaalBaaz (1989)"}}},
{2,new Actor{ActorId = 2,ActorName= "Jennifer Aniston", BirthDate =DateTime.Parse("11-2-1969"), BirthPlace ="Sherman Oaks", Photo ="~/Images/2.jpg", Movies=new List<string>{"Friends (1994)","Bruce Almighty (2003)","Just Go with It (2011)"}}},
{3,new Actor{ActorId = 3,ActorName= "Robert Pattinson", BirthDate =DateTime.Parse("13-5-1986"), BirthPlace ="London", Photo ="~/Images/3.jpg", Movies=new List<string>{ ...
Go to the complete details ...