//How to count the occurrence of each character in a string?
//M: 1, y:1, n:1, a:2
using System;
public class Program
{
public static void Main()
string str="My name is Charu" ;
CountOccurance(str);
}
public static void CountOccurance(String str)
// Add code here