Main.cs
using
System;
class
Program {
-
public
static
int
Main() {
-
int
val = 255;
-
Console.WriteLine(
"{0:X}"
, val);
-
Console.WriteLine(
"{0:x}"
, val);
-
Console.ReadKey();
-
return
0;
-
}
}
using
System;
class
Program {
-
public
static
int
Main() {
-
int
val = 255;
-
Console.WriteLine(
"{0:X}"
, val);
-
Console.WriteLine(
"{0:x}"
, val);
-
Console.ReadKey();
-
return
0;
-
}
}
FF
ff
ff