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
John Burns
NA
120
109.1k
Can a property be so simple? is this correct?
Dec 21 2010 7:26 AM
im now learning how to use properties in C# Windows Form.
one thing that strikes me is there the below example is a property BUT there is no mention of the word
property
when declaring it?
is it really this simple? seems to simple to be true, i expected a bit more to properties as ive seen with other languages.
public string Name
{
get
{
return myName;
}
set
{
myName = value;
}
}
Reply
Answers (
4
)
page Redirect problem
How to modify the ReadOnly attribut value on a specific object instance