این کد که خطا ندازره

public int ali()
{
return 10;
}

private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = ali().ToString();
}