title: Overriding property setter
body: <p>I'm making a program where there are some balls bouncing around,  but now I want to inherit that class and make that new one impossible to set it's velocity</p>
  
  <p>i've tried this but that doesn't do anyting</p>
  
  <pre><code>public class Ball {
      public Ball(double posX, double posY, double rad, Vector vel) {
          Pos = new Point(posX, posY);
          Rad = rad;
          Vel = vel;
      }
      public double Rad { get; set; }
  
      public Point Pos { get; set; }
      public Vector Vel { get; set; }
  }
  
  public class StaticBall : Ball {
      public StaticBall(double posX, double posY, double rad) 
          : base(posX, posY, rad, new Vector(0, 0)) { 
      }
      public Vector Vel {
          get { return Vel; }
          set { Vel = Vel; }
      }
  }
  </code></pre>
  
  <p>how should I do this?</p>