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,

Karthik ElumalaiPosted Jun 23, 2016, 12:09 PM
Vinay SinghPosted Jun 23, 2016, 7:40 AM
Vishal JadavPosted Jun 23, 2016, 7:06 AM