摘要:
查看类型的内部结构: typeof获取类型的默认值: default var temp01 = typeof(decimal);//查看类型的内部结构 var temp02 = default(decimal);//获取类型的默认值 检查数据是否有溢出: checked不检查数据是否有溢出: unc 阅读全文
posted @ 2023-07-19 16:38
hofmann
阅读(232)
评论(0)
推荐(0)
摘要:
/// <summary> /// 对象深度Copy /// </summary> /// <typeparam name="T"></typeparam> /// <param name="obj"></param> /// <returns></returns> public static T 阅读全文
posted @ 2023-07-19 16:15
hofmann
阅读(25)
评论(0)
推荐(0)
摘要:
string connectionString { get { return "Server=;Database=;Integrated Security=SSPI;"; } } [Test] public void Test() { using var dbcontext = new DB_Con 阅读全文
posted @ 2023-07-19 13:37
hofmann
阅读(49)
评论(0)
推荐(0)

浙公网安备 33010602011771号