private void UpdateLabel() { label1.Text = "나는 "; Control.ControlCollection controls = this.Controls; foreach (Control control in controls) { Type t = control.GetType(); if (t.FullName.Equals("System.Windows.Forms.CheckBox")) { CheckBox c = (CheckBox)control; if (c.Checked) { label1.Text += c.Text+" "; } } } label1.Text += "를 먹겠다"; }