C # program to implement run length encoding
using System ; class GFG { public class RunLength_Encoding { public static void printRLE ( String str ) { int n = str . Length ; for ( int i = 0 ; i < n ; i ++ ) {