摘要:
string str1 = Process.GetCurrentProcess().MainModule.FileName;//可获得当前执行的exe的文件名。 string str2 = Environment.CurrentDirectory;//获取和设置当前目录(即该进程从中启动的目录)的完 阅读全文
posted @ 2021-10-20 15:33
最好的年纪
阅读(3823)
评论(0)
推荐(2)
摘要:
参考链接:Object to Generic List<> cast (microsoft.com) IList objList = (IList)objData; int count = objList.Count; // The LINQ conversions will lose this i 阅读全文
posted @ 2021-10-20 11:36
最好的年纪
阅读(5011)
评论(0)
推荐(0)

浙公网安备 33010602011771号