摘要:
public class SharpSevenNewInfo { public static void Show() { //out变量声明 { //不需要提前声明 int.TryParse("111", out int result); Console.WriteLine(result); //可 阅读全文
posted @ 2021-04-05 09:41
不骄不傲
阅读(71)
评论(0)
推荐(0)
摘要:
public class SharpSixNewInfo { public static void Show() { //条件运算 { Student stu = null; //获取属性对象为空返回null string lastName = stu?.LastName; Console.Writ 阅读全文
posted @ 2021-04-05 09:39
不骄不傲
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号