rss
twitter
facebook

Home

C# - Ciclo for

private void button1_Click(object sender, EventArgs e)
{
int x = 0;

for (int i = 0; i <= 100; i++)
{
x += i;
}
Lresult.Text = Convert.ToString(x);
}

0 comentários:

 
Powered by Blogger