How can I add to a List<> many toggle group selected values at same time?


I have 4 groups, each group contains 4 toggle group with 2-2 options.
Every option value is 0 or 1.


After I choose one value from all toggle groups , i want to add every choice to a list with a button for example.
I spent hours with it, but i didn’t find a good solution.
How can I do it correctly (Unity version 2019.4.15)?


I found a similar question with good answers on stackoverflow:

I believe you can adjust the solutions offered there to fit your needs.