コード例 #1
0
 private string RemoteAction()
 {
     if (rem.PressButton())
     {
         return("The door is open!");
     }
     return("The door is closed!");
 }