Sagot :
The TextBox is used to get a non-formatted string and you have afterwards to check if the format of your string is correct
In the case of the MaskedTextBox, you may introduce a format for your string
In the documentation, you can read
Uses a mask to distinguish between proper and improper user input