I have the code below and I need to add a directory called "maintenance" after the cID. I tried adding it in manually using '+ "\maintenance\"' after the + cId but it went all squiggly line on me. I am new the ASP MVC (Razor) so any help would be greatly appreciated!
var maintPath = System.Configuration.ConfigurationManager.AppSettings.Get("MaintenancePath");
maintPath += "\\" + cId";
var files = System.IO.Directory.GetFiles(maintPath);
foreach (string file in files)
var fileInfo = new System.IO.FileInfo(file);
var maintFile = new Models.ContractorMaintenanceFile(cId, file);