I have a txt file that contains a list of files that i need to delete. so far this is what i have.
how do i add the delete statement. line.delete, sr.delete does not work.
class Program
{
static void Main(string[] args)
{
StreamReader sr = new StreamReader("List.txt");
String line;
while ((line = sr.ReadLine()) != null)
{
}
}