c# output array code example Example: print array in c# Console.WriteLine(string.Join("\n", myArrayOfObjects));