I have a tab page program, where I can select multiple check box items from each tab. I want to be able to create a list where it can show me the items i have selected. Below is my attempt at the beginning of a boo lean statement, however I'm stuck. Any suggestions on how to complete this would be amazing!
public bool itemchecked
{
get
{
return checkBox.Checked;
}
}
First: Add all you checkboxes to a
List<CheckBox>
.Then your property could be sth. like
You could also use a linQ-Expression to return the list.