Main.cs
using
System;
class
Program {
-
public
static
int
Main() {
-
int
res = 0, a = 10, b = 5;
-
res = a - b;
-
Console.WriteLine(res);
-
Console.WriteLine(a - b);
-
Console.WriteLine(
"{0}"
, (a - b));
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
class
Program {
-
public
static
int
Main() {
-
int
res = 0, a = 10, b = 5;
-
res = a - b;
-
Console.WriteLine(res);
-
Console.WriteLine(a - b);
-
Console.WriteLine(
"{0}"
, (a - b));
-
Console.ReadKey();
-
return
0;
-
}
}
5
5
5
5
5