public static bool SaveFile(string file, object value, Extentions.Type type) { FileInfo info = new FileInfo(file); return(SaveFile(value, info.Name, info.DirectoryName, $".{type}")); }
private static object ReadFile(string file, Extentions.Type type) { FileInfo info = new FileInfo(file); return(ReadFile(info.Name, info.DirectoryName, $".{type}")); }