c# how can you check if 2 folders in a directory exists.

  • Thread starter Thread starter elfenliedtopfan55
  • Start date Start date
E

elfenliedtopfan55

Guest
hello so i wanting to check to see if 2 folders or more with certain names exist if both exist or more as time goes on there will be more

but currently something like




if(Directory.Exists(Application.startuppath + "//debug//aug")

{

messagebox.show("Found");

}


the issue is i want to make it so it searches for multiple folders and check if they exist if so do something else do something else but not sure the best way of doing this if anyone could assist or knows of a better way to do this,


Would be much appreciated

thanks in advance elfenliedtopfan5

Continue reading...
 
Back
Top