Slice.Contains Method
Gets whether the specified index is within the range of the slice.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
true if value is within the range of the slice; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public bool Contains(
int value
)
Parameters
- value Int32
- A number.
Return Value
Booleantrue if value is within the range of the slice; otherwise false.