Click here to Skip to main content
15,916,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Is there any logical OR (Circuit Gate) inbuilt function in .Net?



I have two tables containing series of 1 and 0 like


00101000100
00001000100
00100000000
00101000100
00101000100


I have to use OR to concatenate them. Is there any inbuilt function in .Net. I have done it by doing for loop. But if any inbuilt function, it will be preferable.



RKS
Posted
Updated 11-Apr-13 19:33pm
v4
Comments
Maciej Los 12-Apr-13 1:48am    
2 tables... Where: Access, SQL Server?
Have you seen this: http://msdn.microsoft.com/en-us/library/system.string.concat.aspx[^]

1 solution

Logical or is a double pipe :
C#
if(var1==true || var2==false)//logical or
...
 
Share this answer
 
Comments
Rahul K Singh 12-Apr-13 1:14am    
Thanks but i was talking about Circuit Gate. I have improved the question. have a look.
Mehdi Gholam 12-Apr-13 1:19am    
Your question makes little sense, are you referring to a product?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900