Hello,
Just an easy question for someone, not for me cause I don’t know why it doesn’t work, so if anyone could amend this please help:
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
else {
var hi = Directory.GetFiles(path);
for (int i = 0; i < hi.Length; i++) {
File.Delete(hi*);*
}
Directory.Delete(path);
Directory.CreateDirectory(path);
}