T_WolfCurses_ArrayExtensions - Maxwolf/WolfCurses GitHub Wiki
Helper methods for working with arrays.
System.Object
WolfCurses.ArrayExtensions
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class ArrayExtensions
The ArrayExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
ClosestTo | NB Method will return int. MaxValue for a sequence containing no elements. Intended to be used to match int value to enumeration but without directly casting it, instead looking for closest match to target value. |
![]() ![]() |
TrueCount | Determines the count of boolean values in an array that are true. Intended to be used in conjunction with count to determine if all are true for a entire sequence. |
Supported in: 0.1