public bool Includes(IRangeElement element) { if (element == null) { return(false); } if (Begin.Includes(element) && End.Includes(element)) { return(true); } return(false); }