title: How to add an event to a class
body: <p>Say I have a class named Frog, it looks like:</p>
  
  <pre><code>public class Frog
  {
       public int Location { get; set; }
       public int JumpCount { get; set; }
  
  
       public void OnJump()
       {
           JumpCount++;
       }
  
  }
  </code></pre>
  
  <p>I need help with 2 things:</p>
  
  <ol>
  <li>I want to create an event named Jump in the class definition.</li>
  <li>I want to create an instance of the Frog class, and then create another method that will be called when the Frog jumps.</li>
  </ol>