Would you like to react to this message? Create an account in a few clicks or log in to continue.

    Array Class

    avatar
    Admin
    Admin


    Posts : 77
    Join date : 2009-07-28

    Array Class Empty Array Class

    Post  Admin Tue Jul 28, 2009 3:30 pm

    Arrays, We all know what they are.

    Fields
    Length : Total number of elements within the array whatever it's dimension.
    Rank : Total Number of dimensions within an array

    BinarySearch STATIC
    public static int BinarySearch<T>(T[] tab,T value);
    Rend la position de value dans un tableau.

    Clear STATIC
    all elements = null
    [code]Clear(tab, indStart,length)

    Get(Length - Lower/UpperBound
    Number of elements in dimention i
    tab.GetLength(i);

    IndexOf<T>(tab,val) STATIC
    Self defined

    Sort<T>(tab,IComparer<T> comparateur)Static
    Defined

      Current date/time is Mon May 20, 2024 6:58 am