public void OutputCompressionType(CompressionType valueSet) { OutputStatusMessage(string.Format("Values in {0}", valueSet.GetType())); foreach (var value in Enum.GetValues(typeof(CompressionType))) { OutputStatusMessage(value.ToString()); } }