我有字符串: -(1 and 3) OR (2 AND 4) AND (5 OR 6)
我想知道上面字符串中 C# 4.0 中每个数字与另一个数字之间的关系
喜欢 :
relation between 1 , 3 is - AND
relation between 1 , 2 is - OR
relation between 1 , 4 is - OR
relation between 1 , 5 is - AND
relation between 1 , 6 is - AND
与上面相同,我需要确定每个元素的关系。
做一些必要的,如果有人尝试过