rangers99
asked on
How do I Create New instance of an Object?
Im using Visual Studio 2008 and programming a windows application using Visual C#
I think this should be easy. Ive a variable called george as follows;
List<int> george;
George contains a list of integers.
I want to create a copy of george and call it bob. How Do I do this?
Ive dont this so far.
List<int> bob = new List<int>
How do i copy the contents of george to bob?
I think this should be easy. Ive a variable called george as follows;
List<int> george;
George contains a list of integers.
I want to create a copy of george and call it bob. How Do I do this?
Ive dont this so far.
List<int> bob = new List<int>
How do i copy the contents of george to bob?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.