[c#] 폴더 존재 확인 방법 – directory.exists
private void Form1_Click(object sender, EventArgs e)
{
if (!Directory.Exists("test"))
{
MessageBox.Show("the folder does not exist");
}
}
private void Form1_Click(object sender, EventArgs e)
{
if (!Directory.Exists("test"))
{
MessageBox.Show("the folder does not exist");
}
}