摘要:
public class SharpSevenNewInfo { public static void Show() { //out变量声明 { //不需要提前声明 int.TryParse("111", out int result); Console.WriteLine(result); //可 阅读全文
摘要:
public class SharpSixNewInfo { public static void Show() { //条件运算 { Student stu = null; //获取属性对象为空返回null string lastName = stu?.LastName; Console.Writ 阅读全文