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
Todd Vance
NA
60
131.8k
I want to list the contents of a LIST
into a textBox or even a Label and cannot figure out how.
Jun 27 2007 4:09 PM
Ok guys,
I feel foolish here, but I have made a couple random hands of cards and wanted to see the full contents of those cards in a couple of textboxes.
But I suddenly realized that I am not sure how to do this?
If I loop through the twenty cards it will only show me the last one.
I need to concatenate it in an easy fashion. I KNOW that I could simply do this:
string shuffledCards = myCards.arraylist[1].ToString() +\n + myCards.arraylist[2].ToString() and on and on and on... and then place that string in a textBox....
BUT that cannot be the only way or even a good way to do it -- especially since I have 20 cards in each deck....can someone help me here?
Reply
Answers (
1
)
Image Processing: Redraw the outline of any image (sketching) in C#.Net, but How??
Find macro in a uploaded doc file using c#