TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
darma teja
NA
496
337.3k
add values to list in a loop
May 3 2013 10:42 AM
Hi,
my problem is:
In every loop i get 3 values (
logic to get strings
) and store it into customer. With the following code I am getting only my 5th loop values in my final customer list.
List<string> customer = new List<string>();
for (int i = 0; i < 5; i++ )
{
customer= logic to get values (here I get 3 strings)
}
Thanks allot
Darma
Reply
Answers (
3
)
how to set the rollnumber for student
Save from DataGridView c# to database