C # implementation to print the characters and frequencies in order of its occurrence
using System ; using System . Collections ; using System . Collections . Generic ; class GFG { public static void prCharWithFreq ( string s ) {