Advertisement
BaSs_HaXoR

How to fix "Operator && cannot be applied to operands"

Sep 24th, 2014
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. ButtonMonitoring.PressL1 && ButtonMonitoring.PressL2 //ERROR BECAUSE in the methods have to be called with "()"
  2. //Error 1   Operator '&&' cannot be applied to operands of type 'method group' and 'method group'
  3.  
  4.  
  5. ButtonMonitoring.PressL1() && ButtonMonitoring.PressL2()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement