摘要:
问题:Controller中Response的用法.日后搞明白再更新. 阅读全文
posted @ 2020-08-06 17:08
留下成长的足迹
阅读(536)
评论(0)
推荐(0)
摘要:
1.$:在字符串插入值 int a = 1;int b = 2;string c = $"{a} + {b} = {a + b}";//使用$string d = string.Format("{0} + {1} = {2}", a, b, a + b);//使用Format 2.@符号.让转移字符 阅读全文
posted @ 2020-08-06 15:53
留下成长的足迹
阅读(4659)
评论(0)
推荐(1)
摘要:
参考地址:https://www.cnblogs.com/bianlan/archive/2013/01/11/2857105.html ViewData:字典类型,foreach中需要强制转换,使用时 ViewData["key"] ViewBag:动态类型, 使用时:ViewBag.key 阅读全文
posted @ 2020-08-06 12:00
留下成长的足迹
阅读(549)
评论(0)
推荐(0)