Skip to main content
To print only the selected interests, add a condition: if (interests[i].GetSelected()).