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

Saillesh PawarRank #537 · 4.5K reputationPosted Jan 22, 2017, 11:55 PM EST
Eg:
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 23, 2017, 1:16 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Jan 22, 2017, 11:53 PM EST
Dinesh SanthalingamRank #2,085 · 690 reputationPosted Jan 23, 2017, 2:03 AM EST
Rajeesh Menoth