int? maybe = 12; if (maybe is int number) { Console.WriteLine($"The nullable int 'maybe' has the value {number}"); } else { Console.
確定! 回上一頁