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
Krivahn Doss
NA
33
0
Custom types
Dec 24 2009 3:00 AM
I have a generic list of custome types. list<MyType> where MyType is a class so that makes
it a reference type. I have the following
List<MyType> myType1 = new List<MyType>();
List<MyType> myType2 = new List<MyType>();
myType2 = myType1;
How do I assign myType2 to point to a different part in memory or to a value type.
I also tried the following but when myType1 list changes the changes occure in myList2
as well.
List<MyType> myType2 = new List<Mytype>(myType1);
Reply
Answers (
1
)
How to Change Aajax Controls tool kit by Cleint Side?
loading symbol