Main.cs
using
System;
class
Program {
-
public
static
int
Main() {
-
for
(
int
i=0, j=0; i<3 | j<3; i++, j++) {
-
Console.WriteLine(
"i = {0} j = {1}"
, i, j);
-
}
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
class
Program {
-
public
static
int
Main() {
-
for
(
int
i=0, j=0; i<3 | j<3; i++, j++) {
-
Console.WriteLine(
"i = {0} j = {1}"
, i, j);
-
}
-
Console.ReadKey();
-
return
0;
-
}
}
i = 0 j = 0
i = 1 j = 1
i = 2 j = 2
i = 1 j = 1
i = 2 j = 2