Main.cs
using
System;
class
Program {
-
public
static
int
Main() {
-
int
[] ara =
new
int
[3] {10, 20, 30};
-
foreach
(var i
in
ara) {
-
Console.Write(
"{0} "
, i);
-
}
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
class
Program {
-
public
static
int
Main() {
-
int
[] ara =
new
int
[3] {10, 20, 30};
-
foreach
(var i
in
ara) {
-
Console.Write(
"{0} "
, i);
-
}
-
Console.ReadKey();
-
return
0;
-
}
}
10 20 30