Hi, Can enyone helpsme.Im new to C#.
i gt this error.
Embedded statement cannot be a declaration or labeled statement
My code is
foreach (Form form in Application.OpenForms){
if (form is productResults)
productResults pr =(productResults)form;
}
PLZ...help me.