Good morning, I'm trying to create a system that when I type a name in a textfield it would create a folder with this name and add the file inside the folder.
The part of adding the file is correct, I need to know how to create it.
I'm very lay in programming yet, I'll send you a line as an example:
File.WriteAllText(System.IO.Path.Combine(projectPath,@"novapasta.Domain\Entities\" + varPath + "\" + entityName + ".cs"), Template);
the path would be in txtPath