How to convert Ascii value to character in C# ?

In C# , you can convert the Ascii value to its corresponding character by assigning the value to a character .

How to convert Ascii value to character in C# ?

Below is a sample sourcecode to demo how to convert Ascii value to character in C#

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

namespace ConsoleApplication1
{ 
    class Program
    {
        static void Main(string[] args)
        {
            char charData;
            // 98 is the ascii value for b
            charData = (char)98;
            // This will display c
            Console.WriteLine(charData);
            Console.ReadLine();
        }
    }
}
%d