0

Hi,
There is a concept I haven't seen before. I can understand what is happening. But I don't know what this is.
It is not a class. It is not a method. What is it?
Maybe I know it, but i've been on my PC all day...

public DateTime Date 
    {
        get 
        {
            return date;
        }
        set 
        {  
               date = value; 
        }

    }
3
Contributors
4
Replies
36
Views
3 Years
Discussion Span
Last Post by ddanbe
Featured Replies
  • 1

    It is called a property. see: [Properties (C# Programming Guide)](http://msdn.microsoft.com/en-us/library/x9fsa0sw.aspx) Read More

0

That was fast.

I was in the neighborhood and it was an easy question. :)

Please mark the thread as answered, if you don't have any more questions on the topic.

Thanks.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.