1
Answer

reversing arrays?

Photo of anndy smaals

anndy smaals

6y
510
1

how to reverse the values in array?
 
using System;

namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
int[] array = { 3, 5, 7, 3, 7, 9, 2 };


for(int i = 0; i < array.Length; i++)
{
Console.Write(array[i] + " ");
}
}
}

Answers (1)