Monobjc.Foundation.NSRange.NSLocationInRange C# (CSharp) Method

NSLocationInRange() public static method

Returns a Boolean value that indicates whether a specified position is in a given range.
Original declaration is : BOOL NSLocationInRange(unsigned int index, NSRange aRange)
public static NSLocationInRange ( NSUInteger index, NSRange aRange ) : bool
index NSUInteger
aRange NSRange
return bool
		public static bool NSLocationInRange(NSUInteger index, NSRange aRange)
        {
            return ((index >= aRange.location) && (index < (aRange.location + aRange.length)));
        }