Code Snippet for Properties with Prefix Notation
Posted by: Roland Weigelt,
on 13 Nov 2005 |
View original | NEW Bookmarked: 0 time(s)
As I wrote in previous blog posts, I still use prefix notation for private members, one reason being IntelliSense. If youre like me, you may find these code snippets handy: Name: Boolean Property Description: Code snippets for a boolean property. Shortcut: bp Result: private bool m_bMyProperty; public bool MyProperty{ get { return m_bMyProperty;} set { m_bMyProperty = value;}} Name: Integer Property Description: Code snippets for an integer property. Shortcut: ip Result:...