There is no need to leave the old code there commented out.  Just get rid of it.  Also, Contains is overloaded so that could be changed to `return rect.Contains(pt)` if you want.