public bool checkwindow(string check)
 {
     // Contains already returns true/false, no need of additional checks
     return(Listofwindows.Contains(check));
 }
Пример #2
0
 public bool checkwindow()
 {
     return(Listofwindows.Contains(Check));
 }