private static string GetFiledName(FileInfo index) { List<string> list = index.Name.Split('.', '-', '/').Where(o => !string.IsNullOrEmpty(o)).ToList(); return string.Join("", list.Select(o => char.ToUpper(o[0]) + o.Substring(1))); }