I have some Values. I want to add it to the list.
Ex:How to rectify this error?
- List<string> mylist1 = new List<string>() ;
- string name="dinesh";
- Int age =16;
- string bike="Hero"
- mylist1.Add(Name,Age,bike);//can't able to add



David WoodPosted Jan 28, 2017, 1:28 PM
- Console.WriteLine(listDetails);
into 2 linesAnkur GuptaPosted Jan 24, 2017, 4:03 AM
Dinesh SanthalingamPosted Jan 23, 2017, 7:03 AM
Rajeesh Menoth