private static void ShowData(Sample3Data data, bool dumpData)
 {
     Console.Clear();
     if (dumpData)
     {
         Console.WriteLine("Data from storage!!!");
     }
     Console.WriteLine("Next offset: {0}", data.NextOffset);
     Console.WriteLine("Distribution:");
     foreach (var pair in data.Distribution)
     {
         Console.WriteLine("[{0}]: {1}", pair.Key, pair.Value);
     }
 }
 private static void ShowData(Sample3Data data, bool dumpData)
 {
     Console.Clear();
     if (dumpData)
         Console.WriteLine("Data from storage!!!");
     Console.WriteLine("Next offset: {0}", data.NextOffset);
     Console.WriteLine("Distribution:");
     foreach (var pair in data.Distribution)
     {
         Console.WriteLine("[{0}]: {1}", pair.Key, pair.Value);
     }
 }