Answers for "how to check if directory has files in .net"

C#
5

c# check if a directory exists

string directory = @"C:\folder name";
  
	if (Directory.Exists(directory)
    {
    	// Directory exits!
    }
Posted by: Guest on October-20-2020

Code answers related to "how to check if directory has files in .net"

C# Answers by Framework

Browse Popular Code Answers by Language