Path existance
In this chapter you will learn:
Path existance
using System;/*from ja v a 2 s .c o m*/
using System.IO;
static class MainClass
{
static void Main(string[] args)
{
Console.WriteLine(Directory.Exists("c:\\"));
}
}
The code above generates the following result.
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » File, Path