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
7 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manas MohapatraPosted Jul 28, 2016, 2:10 AM
Rafnas T PPosted Jul 28, 2016, 8:13 AM
Ravi PatelPosted Jul 28, 2016, 5:20 AM
ketan borsdiyaPosted Jul 28, 2016, 2:40 AM
Bikesh SrivastavaPosted Jul 28, 2016, 2:32 AM
Carlos kambuiPosted Jul 28, 2016, 1:53 AM
Pradeep SahooPosted Jul 28, 2016, 1:43 AM