I'm trying to create a blank text file in one of my onclick events. This is what I did:
string someName = @"C:\Temp\test.txt";
It creates the file but I can't open it. It says it's being used by another process. Seems that it's locked. It has the right inherited permissions so it's not that. Do I have to do something extra? Another method need to write to it shortly after and am having trouble.