0
I made a basic registration system in C#. I created a List<T>
to keep my data in memory and then display it.
But when I register the second person, this data "clones" the other data.
When I have the list values displayed, the results are:
Name: Lucas Silva CPF: 222.333.4445-4
Name: Lucas Silva CPF: 222.333.4445-4
Welcome to Stackoverflow! Please, so we can help, post the code that populates the list and the code that iterates the list. Always post the code and preferably, do not use codes or results as an image, but as "pure" text. It is better for viewing.
– igventurelli
You can put your code?
– PauloHDSousa
@Weslei, show us your code so we can help you, because we’ll have a way to identify the problem.
– LP. Gonçalves