operator keyword - Logical instructions for CIL -


how can use logical operators and, or, not in cil ?

there no cil opcodes operators; need implement them via conditional branching instead. instance, a && b same a ? b : false, , a || b same a ? true : b, both of relatively easy implement in il (e.g. can use brtrue opcode conditional jump based on value of a).


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -