Timeline for How to concat lists with logical ANDs and ORs
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 29, 2019 at 14:26 | comment | added | D. Ben Knoble | Does C# not have a Set type (interface with supporting classes)? I would be shocked to discover this, since it’s Dictionary support is quite good | |
| Dec 27, 2019 at 15:01 | comment | added | Uwe Keim |
Thanks. I'm already having the formula as a list like new object[] {p1, "OR", p2, "AND", p3, "AND", p4, "OR", p5} and solved it now by first finding all a AND b list-tripple entries, calculating them, replacing the 3 entries by the result, repeating until no more ANDs are present. Then doing the same with a OR b. This worked in my examples.
|
|
| Dec 27, 2019 at 14:58 | vote | accept | Uwe Keim | ||
| Dec 27, 2019 at 14:50 | history | answered | Ryathal | CC BY-SA 4.0 |