CSharp examples for File IO:Path
Combine string array to create path
using static System.Console; using static System.IO.Directory; using static System.IO.Path; using static System.Environment; class Program//from w w w . j a v a 2 s . c o m { static void Main(string[] args) { var customFolder = new string[] { "aaa", "Code", "C", "OutputFiles" }; string dir = Combine(customFolder); WriteLine($"Working with: {dir}"); } }