private bool ClearBreakpoint(int no) { var index = no - 1; if (index >= 0 && index < Breakpoints.Count()) { Breakpoints.RemoveAt(index); return(true); } return(false); }