[RESOLVED] 'Response' does not exist in the current context
DirectoryInfo dir = new DirectoryInfo("c:/temp"); FileInfo[] files = dir.GetFiles("*.cs"); foreach (FileInfo fi in files) { StreamReader SR = new StreamReader(fi.FullName); //remove '.cs' string newFileName = fi.FullName.Remove ......