Click or drag to resize
IUserAccessiableInArray Method (Int32, Int32)
returns True\False if a given value is within a given array.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool InArray(
	int inValue,
	int[] inArray
)

Parameters

inValue
Type: SystemInt32
Given value
inArray
Type: SystemInt32
Array name

Return Value

Type: Boolean
Boolean Value, true\false
Examples
Given the array: arr, with values {2,3,4}; InArray(7,arr); will return false, as 7 is not in the given array.
See Also