using System.Collections.Generic;
public static void Main()
(string ScanFolder, string ProcessedFolder, string ErrorFolder) folders = test();
Console.WriteLine(folders);
foreach (var folder in folders.GetType().GetFields(BindingFlags.Instance | BindingFlags.Public))
Console.WriteLine(folder);
public static (string ScanFolder, string ProcessedFolder, string ErrorFolder) test()
return (ScanFolder: "1", ProcessedFolder: "2", ErrorFolder: "3");