示例#1
0
        public bool Intersect(KeyScope scope)
        {
            for (int i = this.min; i < this.max; i++)
            {
                if (scope.Contains(i))
                {
                    return(true);
                }
            }

            return(false);
        }
示例#2
0
		public bool Intersect(KeyScope scope)
		{
			for(int i=this.min ;i<this.max ;i++)
			{
				if(scope.Contains(i))
				{
					return true ;
				}
			}

			return false ;
		}