Error : ‘File’ is ambiguous, imported from the namespaces or types ‘System.IO, Microsoft.SharePoint.Client’. At line 1
Getting this above error while invoking this code…
Array.ForEach(Directory.GetFiles(folderPath),Sub(x) File.Delete(x))
How to fix this error?