Posts by marcolino • 19 points
1 post
-
1
votes3
answers561
viewsA: Validate if a CPF already exists in the List before inserting C#
Hello! The problem is the logic you used. Your code is going through the list of registered customers, which is initially empty. How about this version? public static void CadastrarCliente(Cliente…