Skip to content

Conversation

@Guirollzing
Copy link

  • Updated code to correctly handle the "System.FormatException: Input string was not in a correct format." exception and perform basic CPF validation.

- updated code to correctly handle the "System.FormatException" exception and perform basic CPF validation

- cpf.Distinct().Count() is being used to check if all CPF digits are the same
- updated code to correctly handle the "System.FormatException" exception and perform basic CPF validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant