Arrays.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ToString(Object[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Boolean[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Byte[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Char[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Double[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Int16[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Int32[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Int64[]) |
Returns a string representation of the contents of the specified array. |
| ToString(Single[]) |
Returns a string representation of the contents of the specified array. |
ToString(Object[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([Ljava/lang/Object;)Ljava/lang/String;", "")]
public static string ToString (Java.Lang.Object[]? a);
[<Android.Runtime.Register("toString", "([Ljava/lang/Object;)Ljava/lang/String;", "")>]
static member ToString : Java.Lang.Object[] -> string
Parameters
- a
- Object[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(java.lang.Object[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Boolean[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([Z)Ljava/lang/String;", "")]
public static string ToString (bool[]? a);
[<Android.Runtime.Register("toString", "([Z)Ljava/lang/String;", "")>]
static member ToString : bool[] -> string
Parameters
- a
- Boolean[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(boolean[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Byte[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([B)Ljava/lang/String;", "")]
public static string ToString (byte[]? a);
[<Android.Runtime.Register("toString", "([B)Ljava/lang/String;", "")>]
static member ToString : byte[] -> string
Parameters
- a
- Byte[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(byte[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Char[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([C)Ljava/lang/String;", "")]
public static string ToString (char[]? a);
[<Android.Runtime.Register("toString", "([C)Ljava/lang/String;", "")>]
static member ToString : char[] -> string
Parameters
- a
- Char[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(char[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Double[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([D)Ljava/lang/String;", "")]
public static string ToString (double[]? a);
[<Android.Runtime.Register("toString", "([D)Ljava/lang/String;", "")>]
static member ToString : double[] -> string
Parameters
- a
- Double[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(double[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Int16[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([S)Ljava/lang/String;", "")]
public static string ToString (short[]? a);
[<Android.Runtime.Register("toString", "([S)Ljava/lang/String;", "")>]
static member ToString : int16[] -> string
Parameters
- a
- Int16[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(short[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Int32[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([I)Ljava/lang/String;", "")]
public static string ToString (int[]? a);
[<Android.Runtime.Register("toString", "([I)Ljava/lang/String;", "")>]
static member ToString : int[] -> string
Parameters
- a
- Int32[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(int[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Int64[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([J)Ljava/lang/String;", "")]
public static string ToString (long[]? a);
[<Android.Runtime.Register("toString", "([J)Ljava/lang/String;", "")>]
static member ToString : int64[] -> string
Parameters
- a
- Int64[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(long[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ToString(Single[])
Returns a string representation of the contents of the specified array.
[Android.Runtime.Register("toString", "([F)Ljava/lang/String;", "")]
public static string ToString (float[]? a);
[<Android.Runtime.Register("toString", "([F)Ljava/lang/String;", "")>]
static member ToString : single[] -> string
Parameters
- a
- Single[]
the array whose string representation to return
Returns
a string representation of a
- Attributes
Remarks
Java documentation for java.util.Arrays.toString(float[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.