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

Manas MohapatraRank #182 · 13.2K reputationPosted Jul 27, 2016, 10:10 PM EDT
Ravi PatelRank #439 · 5.7K reputationPosted Jul 28, 2016, 1:20 AM EDT
Pradeep SahooRank #489 · 5.1K reputationPosted Jul 27, 2016, 9:43 PM EDT
Carlos kambuiRank #2,642 · 528 reputationPosted Jul 27, 2016, 9:53 PM EDT
ketan borsdiyaRank #2,258 · 624 reputationPosted Jul 27, 2016, 10:40 PM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jul 27, 2016, 10:32 PM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Jul 28, 2016, 4:13 AM EDT