-
Notifications
You must be signed in to change notification settings - Fork 2
BizArk.Core.Extensions.ArrayExt
Brian Brewder edited this page Apr 1, 2017
·
1 revision
Back to BizArk.Core API Reference
Provides extension methods for string arrays.
-
public static T[] Convert<T>(this Array arr)- Converts the array to a different type. -
public static Array Convert(this Array arr, Type elementType)- Converts the array to a different type. -
public static string[] RemoveEmpties(this string[] arr)- Creates a new array that contains the non-empty elements of the given array. -
public static Array RemoveEmpties(this Array arr)- Creates a new array that contains the non-empty elements of the given array. -
public static string Join(this Array arr, string separator)- Joins the elements of an array together as a string using the given separator. -
public static int IndexOf(this Array arr, object val)- Searches for the specified object and returns the index of the first occurrence within the entire one-dimensional System.Array. -
public static bool Contains(this Array arr, object val)- Determines if the array contains the given value. -
public static Array Copy(this Array arr)- Copies the array to a new array of the same type. -
public static string ToHex(this IEnumerable<byte> bytes)- Converts the collection of bytes into a hex strings (no prefix).