1
Answer

converstion of bit to int in linq

How to convert bit value to int in linq?
 
any idea..! 
Answers (1)
-1
Suraj Kumar

Suraj Kumar

NA 1.3k 14.3k 7y
Hi Dheeraj,
 
You can use it as below
 
int myResult = ef.thatField ? 1 : 0;