Hi! I have a problem with my c# program. I will be very grateful if you could help me.
I have a test with 10 questions. When I resolve the test for the first time my questions.Count=10; When I resolve the test for the second time my questions.Count=20;
That's bad, because when I resolve the test for the second or third time my quiz repeats questions (I think each time I resolve a quiz, the program reads the data from my file all over again and add it to my collection. )
I have
Collection<question> = questions new Collection<question> ();declared at the beginning of the
public partial class Form3 : Form.Thank you so much!