T_WolfCurses_ArrayExtensions - Maxwolf/WolfCurses GitHub Wiki

ArrayExtensions Class

Helper methods for working with arrays.

Inheritance Hierarchy

System.Object
  WolfCurses.ArrayExtensions
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static class ArrayExtensions

The ArrayExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member 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.
Public methodStatic member 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.
  Back to Top

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

WolfCurses Namespace

⚠️ **GitHub.com Fallback** ⚠️