3
Answers

Flexible folder path

string folderOfAlarm = @"Alarm\ " +  textbox1.Text;
 
As you can see, I try to declare a path which depends on user input 
But I suffer this error: a field initializer cannot reference the nonstatic field method or property
 
Any knows why? Please help me
Thanks, 
Answers (3)