Hello everyone.
I am pretty green in programming and therefore my question might sound rather silly or naive.
I need make a program where:
When int p =0; I get
12340
When int p =1; I get
23401
When int p =2; I get
34012
I will appreciate any help regarding how to solve the problem. At the moment, this is what I have made:
int p = 0;
for (int i = 1; i <= 4;)
{
p = i++;
this.Label1.Text += p + "<br/>";
Result:
1
2
3
4
Regards
wan

Assistance
Leon Mayne
private void Form1_Load(object sender, EventArgs e)
{
int p = 0;
int temp = 0;
switch (p)
{
case 0:
temp = 12340;
break;
case 1:
temp = 23401;
break;
case 2:
temp = 34012;
break;
default:
break;
}
}
}