Skip to content

Creating a Property of a Class Type

Najna Abdulla

Asked Sep 16, 2014, 8:33 PM EDT2 answers
Share
LinkedInX
Creating a Property of a Class Type?
what is the use of it ?????????? 

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    property can be useful bcoz you can set {get;set;} on top of it.

    however, with variables you can't do that.
    0
  • 0
    but i want to know about whats the use of properties that is having type as class name???

    that is if i am defining a property of type as another class name ,in that case ?
    0