I share my question, I have a numericUpDown and I want what to write a number, if this is greater than 10 digits block or disable writing. Below I leave an example of what I've been up to now, but that's where I "get".
Thank you in advance for your opinions.
private void nudNumSeguro_ValueChanged(object sender, EventArgs e)
{
if(this.Text.Length == 10)
{
}
}