Posted By

mtelligent on 05/02/09


Tagged

property getter setter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

umang_nine
khouser


Templated Property


 / Published in: C#
 

  1. private [[Data Type]] _[[Property Name]];
  2. public [[Data Type]] [[Property Name]]
  3. {
  4. get { return _[[Property Name]]; }
  5. set { _[[Property Name]] = value; }
  6. }

Report this snippet  

You need to login to post a comment.