C# 6.0 Edit: With C# 6.0 we can now have a succinct, cast-free version of the orignal method: string s = myObj?.ToString() ?
確定! 回上一頁