---
title: "How to print an array in reverse order in C#?"  
description: "How to print an array in reverse order in C#?"  
author: "Steilla Mitchel"  
published: 2021-11-18  
updated: 2021-11-18  
canonical: https://www.mindstick.com/forum/156851/how-to-print-an-array-in-reverse-order-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How to print an array in reverse order in C#?

How to [print an array](https://www.mindstick.com/forum/159226/what-is-the-simplest-way-to-print-an-array-in-java) in [reverse order](https://www.mindstick.com/forum/156836/what-is-a-c-sharp-program-to-print-individual-from-a-string-in-reverse-order) in C#?

## Replies

### Reply by Ashutosh Kumar Verma

**[Print](https://www.mindstick.com/blog/301752/types-of-3d-printing-technology) an [array](https://www.mindstick.com/articles/335/jagged-array-in-c-sharp-dot-net) in [Reverse](https://www.mindstick.com/blog/63740/what-are-the-most-effective-and-safest-thanks-to-reverse-erectile-dysfunction) [order](https://www.mindstick.com/articles/12276/how-timely-order-deliveries-can-improve-customer-experience):**

## Program:

```
using System;
public class Program
{
 public static void Main()
 {
  int[] arr= {21,52,45,23,65};
  int i;
  /* Same order
  for(i=0;i<=arr.Length;i++)
  {
   Console.Write(' '+arr[i]);
  }*/
  // Reverse Order
  for(i=4;i>=0;i--)
  {
  Console.Write('  '+arr[i]);
  }
 }
}
```

## Output:

```
    65  23  45  52  21.
```

\


---

Original Source: https://www.mindstick.com/forum/156851/how-to-print-an-array-in-reverse-order-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
