Dear code gurus,
I am trying to use DirectoryExists function that seems to be defined in VisualBasic. What directive do I need to use when using this function in C#? It does not seem to work right away.
Thank you in advance.
Printable View
Dear code gurus,
I am trying to use DirectoryExists function that seems to be defined in VisualBasic. What directive do I need to use when using this function in C#? It does not seem to work right away.
Thank you in advance.
Cheers!Code:if (System.IO.Directory.Exists(@"c:\"))
{
//do something
}