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
Vivek Datta
NA
8
0
the significance of 'get' and 'set'
Dec 12 2009 2:09 PM
hello buddies...
plz help me out understanding folowing stuff... i hav searchd for it in many books but didnt understand...
why in evry class, for evry member we use get and set method...
for ex.
private string firstName;
public string FirstName
{
get { return firstName;}
set {firstName = value; }
}
i have seen such stuff in many languages but dont knw y we use thm??
i hav made programs without evn using such things...
plz help me out guys... plz help me understand the significance of these coding methods... thanks in advance...
Reply
Answers (
4
)
I'm completely new to WPF
how save name of every control that add in run time and then can use them?