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