toString Summary Returns a string representation of the array value. Usage public override string toString() Returns A string representation of the array value. Description Returns a string representation of the array value. Examples Basic Usage 1234567import System; int[] arr1 = [ 1, 2, 3 ];Console.log(arr1.toString()); // "1,2,3" string[] arr2 = [ "a", "b", "c" ];Console.log(arr2.toString()); // "a,b,c" Share HTML | BBCode | Direct Link