TriLib Exporter
Search Results for

    Show / Hide Table of Contents

    Class ArrayUtil

    Provides utility methods for array manipulation.

    Inheritance
    object
    ArrayUtil
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TriLibExporter
    Assembly: Assembly-CSharp.dll
    Syntax
    public static class ArrayUtil

    Methods

    Remove<T>(ref T[], T)

    Removes the first occurrence of a specified item from an array.

    Declaration
    public static void Remove<T>(ref T[] arr, T item)
    Parameters
    Type Name Description
    T[] arr

    The array from which to remove the item. This array is resized if the item is removed.

    T item

    The item to remove from the array.

    Type Parameters
    Name Description
    T

    The type of elements in the array.

    In this article
    Back to top Generated by DocFX