naquo

Untitled

Jun 28th, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class algo {
  2.     public event EventHandler onVariableChanged;
  3.     public Int32 _Variable;
  4.     public Int32 Variable {
  5.         get {
  6.             return _Variable
  7.         }
  8.         set {
  9.             _Variable = value;
  10.             if(onVariableChanged != null)
  11.                 onVariableChanged(this, EventArgs.Empty);
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment