if (checkedListBox 1.CheckedItems! = null)
{
for (int i = 0; checkedListBox1 .CheckedItems.C ount; i++)
{
listBox1.Items. Add(checkedList Box1.CheckedIte ms[i].ToString());
checkedListBox1 .Items.RemoveAt (checkedListBox 1.SelectedIndex );
}
Error:But it is showing the cannot implicitly convert int to bool
please reply me as soon as possible
thank ful
{
for (int i = 0; checkedListBox1 .CheckedItems.C ount; i++)
{
listBox1.Items. Add(checkedList Box1.CheckedIte ms[i].ToString());
checkedListBox1 .Items.RemoveAt (checkedListBox 1.SelectedIndex );
}
Error:But it is showing the cannot implicitly convert int to bool
please reply me as soon as possible
thank ful
Comment