private static string GetCase(string str, CaseReadMode crm)
 {
     if (crm == CaseReadMode.ToUpper)
     {
         return(str.ToUpper());
     }
     if (crm == CaseReadMode.ToLower)
     {
         return(str.ToLower());
     }
     if (crm == CaseReadMode.ToTitle)
     {
         return(new CultureInfo("en-US", false).TextInfo.ToTitleCase(str));
     }
     return(str); //At the end, the only one left is keep original
 }
 public KONParser(CaseReadMode nodeNameReadMode = CaseReadMode.KeepOriginal, CaseReadMode keyReadMode = CaseReadMode.KeepOriginal, CaseReadMode valueReadMode = CaseReadMode.KeepOriginal)
 {
     NodeNameReadMode = nodeNameReadMode;
     KeyReadMode      = keyReadMode;
     ValueReadMode    = valueReadMode;
 }