I'm doing a college project where I need to simulate the library, so I have an array with the name of 20 teams and I need to raffle 10 teams but not repeat any of them and present those teams in a ListBox , however I'm not getting it, could you give me suggestions on how to create this method of drawing?
And if possible, some way to add the values of a CheckBox to an array to make a comparison with the teams drawn.
My array :
public String[] times =
{
"Corinthians"
,"Palmeiras"
,"Santos"
,"Grêmio"
,"Cruzeiro"
,"Botafogo"
,"Flamengo"
,"Vasco da Gama"
,"Atlético-PR"
,"Atlético"
,"São Paulo"
,"Chapecoense"
,"Bahia"
,"Fluminense"
,"Sport Recife"
,"Coritiba"
,"Ponte Preta"
,"Avaí"
,"EC Vitória"
};