---
title: "What is a C# program to print individual from a string in reverse order?"  
description: "What is a C# program to print individual from a string in reverse order?"  
author: "Mukul Goenka"  
published: 2021-11-15  
updated: 2021-11-15  
canonical: https://www.mindstick.com/forum/156836/what-is-a-c-sharp-program-to-print-individual-from-a-string-in-reverse-order  
category: "c#"  
tags: ["c#", "reverse"]  
reading_time: 1 minute  

---

# What is a C# program to print individual from a string in reverse order?

What is a C# [program to print](https://www.mindstick.com/forum/157407/javascript-program-to-print-all-prime-number-between-two-intervals) individual from a [string](https://www.mindstick.com/articles/1527/string-split-in-c-sharp) in [reverse order](https://www.mindstick.com/forum/156851/how-to-print-an-array-in-reverse-order-in-c-sharp)?

## Replies

### Reply by Ravi Vishwakarma

```
using System;
using System.Collections.Generic;
public class Program
{
 static void Main()
 {
 string str ='Hello i am here';
    Console.WriteLine('Enter any string value: ');
    str = Console.ReadLine();
    Console.WriteLine('Reverse individual string is : ');
    findIndividualInReverse(str);
 }
  public static void findIndividualInReverse(string str){
      List<char> list = new List<char>();
  char[] chars = str.ToCharArray();
        Array.Reverse(chars);
        string reverseString = new string(chars);
      foreach(char ch in reverseString)
        {
            if(!list.Contains(ch))
            {
                Console.Write(ch);
                list.Add(ch);
            }
     if(ch == ' ')
    Console.Write(ch);
        }
  }
}
```

Output.

Enter any string value:

Hello i am heare , how can i help you?

[Reverse](https://www.mindstick.com/blog/63740/what-are-the-most-effective-and-safest-thanks-to-reverse-erectile-dysfunction) individual string is :

?uoy pleh i nac w , r m H


---

Original Source: https://www.mindstick.com/forum/156836/what-is-a-c-sharp-program-to-print-individual-from-a-string-in-reverse-order

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
