lsbCat.Items.Clear();lsbCat.Items.AddRange(Cats.ToArray());txtCat.Clear(); code example
Example: lsbCat.Items.Clear();lsbCat.Items.AddRange(Cats.ToArray());txtCat.Clear();
lsbCat.Items.Clear();
lsbCat.Items.AddRange(Cats.ToArray());
txtCat.Clear();