I've read through other similar questions but nothing has worked for me. I've changed debugging settings to check this against the most common answers.
Project Type is a class library.
Why does this code not print anything in the output window?
public class API
{
public void BrowseDirectory() {
string[] allFiles = Directory.GetFiles(@"C:\", "*", SearchOption.AllDirectories);
System.Diagnostics.Debug.WriteLine(allFiles);
}
}