Carlos kambui

Carlos kambui

  • NA
  • 499
  • 117.2k

kindly help to rectify the below error c#

Jul 28 2016 1:35 AM
if (tCRights.Where(x => x.access_right_id == rightID & x.active == 1).Count > 0)
error is as follows
Error 1 Cannot implicitly convert type 'string' to 'int' 
 
Error 5 Operator '==' cannot be applied to operands of type 'string' and 'int' 
Error 34 Operator '>' cannot be applied to operands of type 'method group' and 'int'
after converting from vb to c#
kindly help to rectify 
 
 
 

Answers (7)