Description ​
Returns whether the directory exists.
Arguments ​
string
- The directory to search.
Returns ​
bool
- True if directory exists.
Example ​
msc
using File;
using Console;
// Finds whether "r/documents" exists.
if(File.DirectoryExists("r/documents")){
Console.WriteLine("Directory exists!");
}else{
Console.WriteLine("Directory does not exists!");
}