Sqrt (int? x) { if (x. Hasvalue & & x. Value »= 0) return (int) (Math. Sqrt (x. Value)); else return null; } Console.WriteLine(": {0}:{1}:{2} : " , Sqrt (5) ...
確定! 回上一頁