Пример #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 ;
		}