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
jordan wills
NA
1
1.2k
Generic Dictionary consisting of string & linkedlist string
Apr 16 2014 7:41 PM
Hey,
So, I have a generic dictionary (key = name, value = linkedlist).
public Dictionary<string, LinkedList<string>> myDictionary = new Dictionary<string, LinkedList<string>>();
I know how to insert values into the linkedlist (the value part of the dictionary), however, I do not know how to retrieve/display them. I have managed to retrieve the first, and last entries within the linkedlist through this:
entry.Value.First.Value
entry.Value.Last.Value
^the above code is placed within a foreach loop of the dictionary
.
I want to input an unspecific amount of entries into the linkedlist, and be able to put them all into 1 string, or display them.
How can I do this? Is it possible? I have been stuck for far too long now, please help :)
Reply
Answers (
2
)
C# to Create Access Query
String and StringTokenizer