![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mvc
小黄码农
分享分享代码!
展开
-
c# params ref out 关键字使用
1.params个人理解就是可以动态的储存参数例如代码://方法public void HolloWorld (int id ,params string[] strParameter){ int ID = id;//这个可以单独使用 string a = strParameter[0];//输出 a int b = Convert.ToInt32(strParameter[1])// 输出 2 }//使用说明HolloWorld (3,"a","2");2.ref原创 2021-08-18 11:06:54 · 94 阅读 · 0 评论 -
浏览器回到顶部
话不多说直接上代码<a href="javascript:;" class="return-To" id="return-To"> <img src="${ctx}/assets/PS_MasterPeiYou/main/img/goTot.png" style="height: 40px;width: 40px;background-color:#eeeeee;padding:5px;"></img></a>原创 2019-06-10 08:44:12 · 848 阅读 · 0 评论