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
bluescreen
NA
1
0
Small question regarding Lists
Apr 26 2009 7:51 AM
Hi, I am wondering why running the last line of the following code, the element in j list is cleared? as my request was to clear i list and not j? why are they connected together? int x =5; int z=10; List
i = new List
(); List
> j = new List
>(); i.Add(x); i.Add(z); j.Add(i); i.Clear();
Reply
Answers (
2
)
LLBL Gen Pro 2.5
problem need help