我有字符串: - (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
与上述相同,我需要确定每个元素的关系。
做一些需要,如果有人尝试过