using System;
public class Program {
public static void Main() {
int ? nullableInt = null;
if (nullableInt.HasValue) {
Console.WriteLine("nullableIntの値は: " + nullableInt.Value);
} else {
Console.WriteLine("nullableIntはnullです");
}