anndy smaals

anndy smaals

  • NA
  • 24
  • 4.4k

reversing arrays?

Dec 8 2018 12:38 PM

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)