I have a simple C# console code, which converts html name to their corresponding symbols.

`Example` :- `&euro;`-> this is euro html name , `&#8364` ->. this is decimal code for euro;

> 
> My code will convert this name to euro symbol-> €
> 
> 
> 

But when I am converting &#8377 to ₹ , it not working. 

My Console Application code:

```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;

namespace Multiple_Replace
{
    class Program
    {
        static void Main(string[] args)
        {
        var input = " ₹ 5000 €";
        var replacements = new Dictionary<string, string> { { "₹", "&#8377;" }, {"&euro;", "&#8364;"} };
        var output = replacements.Aggregate(input, (current, replacement) => current.Replace(replacement.Key, replacement.Value));
        Console.WriteLine(output);
        Console.ReadLine();
        }
    }
}

```

Please help me out.