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
cityzen
NA
2
0
Properties
Oct 4 2005 12:56 PM
Hi folks, if I have a class A that has a property of type class B, is it good programming practice to simply say private B _B; public B b { get {return _B;} set {_B = value;} } or should my get return a copy of _B rather than _B itself? Likewise, should my set store a copy of the passed value rather than the value itself, given that it's an object reference? Ta
Reply
Answers (
0
)
Select Node in TreeView
Socket Connection