Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Boolean expression using C sharp programming...

Status
Not open for further replies.

ShikenNoAce

Newbie level 5
Joined
Feb 19, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,352
Hi all,

I want to express this boolean expression using C sharp programming...Can somebody teach how to program it in C sharp. Thanks

F = {(A&B) | (A|C)} !
 

joseMiguel

Member level 5
Joined
Jan 10, 2011
Messages
83
Helped
10
Reputation
20
Reaction score
10
Trophy points
1,288
Location
Montpellier FRANCE
Activity points
1,866
Hi,

why the not is at the end normally it is placed at the begining of the boolean expression.
So you want to perform [(A and B) or (A or C)].
so is like C, C++ and JAVA.
regards
 

alexxx

Advanced Member level 4
Joined
Apr 17, 2011
Messages
1,013
Helped
273
Reputation
552
Reaction score
270
Trophy points
1,383
Location
Greece
Activity points
7,938
F = !((a&b) | (a|c));
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top