Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Reply
How to add Item to a list in c#?
Dinesh Santhalingam
7 years ago
397
Reply
I have some Values. I want to add it to the list.
Ex:
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
How to rectify this error?
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
How to insert the data to sql table?
How to create Excel file 31055.xlsx in application path