Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. var numeroContado = Convert.ToInt32(ListBox.Items.Count);
  2. if (numeroContado > 5)
  3. {
  4. ListBox.Items.Clear();
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement