Answers for "write a program that can print an array in c#"

C#
9

C# print array

string[] myArray = {"Dogs", "Cats", "Birds"};
foreach (string item in myArray)
{
  Console.WriteLine(item);
}
Posted by: Guest on March-28-2020
1

print array in c#

Console.WriteLine(string.Join("\n", myArrayOfObjects));
Posted by: Guest on January-18-2021

Code answers related to "write a program that can print an array in c#"

C# Answers by Framework

Browse Popular Code Answers by Language