Issue in deleting the files in folder

@monisharpa2020,

Instead of directly using Directory.GetFiles... use like this System.IO.Directory.GetFiles...

This error occurs when same class is available in two namespaces. Here Directory is available in System.IO and Microsoft.Graph which confuses the compiler which one to use

2 Likes