I'm trying to create a file with a name which would take the "today" date as part of the name, by using the following syntax:
private static FileStream fs = new FileStream(@"C:\Test\log" + DateTime.Now.ToShortDateString() + ".txt", FileMode.OpenOrCreate, FileAccess.Write);
It seems though that Filestream won't take a variable path... What would be a better approach to this?
Thx!