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
Mark Dickinson
NA
9
0
how to copy all of one objects values into another object of the same class.
Sep 1 2008 5:27 PM
I have a class called Piece
and it has some values.
In my code i have two objects currentPiece and tempPiece.
I want to say currentPiece = tempPiece.
But it doesnt seem to work... I can do currentPiece.x[0,0] = tempPiece.x[0,0];
But i have a few arrays and varibles in my class. do i ahve to do one piece at a time? is there no way to just say everything from object one go into object two?
Reply
Answers (
2
)
Executing a select statement in visual studio???
How to get the current URL in Internet Explorer