I am having trouble with a new .NET 5.0 application. I want to have a select folder dialog open, but I haven't found a class for that. All the code I find references the System.Windows.Forms
library.
using (var dialog = new System.Windows.Forms.FolderBrowserDialog())
{
System.Windows.Forms.DialogResult result = dialog.ShowDialog();
}
What is the new way?