摘要:
一。日期格式化 1.ToString() d 月中的某一天。一位数的日期没有前导零。 dd 月中的某一天。一位数的日期有一个前导零。 ddd 周中某天的缩写名称,在 AbbreviatedDayNames 中定义。 dddd 周中某天的完整名称,在 DayNames 中定义。 M 月份数字。一位数的 阅读全文
posted @ 2019-06-28 20:56
Tozhang
阅读(30603)
评论(0)
推荐(1)
摘要:
下载:NuGet程序包 添加到记事本中 其他方式: 创建帮助类用来调用: 参考:https://www.cnblogs.com/vichin/p/6022612.html https://www.cnblogs.com/vichin/p/6022612.html 阅读全文
posted @ 2019-06-28 20:42
Tozhang
阅读(408)
评论(0)
推荐(0)
摘要:
参考:https://www.cnblogs.com/hehehehehe/p/6043710.html https://www.cnblogs.com/miro/p/5006520.html 引子 为方便说明,先举个例子,列出Lambda表达式的一个典型形式: x=>x+1 大家可以看到,Lamb 阅读全文
posted @ 2019-06-28 20:07
Tozhang
阅读(670)
评论(0)
推荐(0)
摘要:
using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace ClassLibrary1 { class Code { //1、base64 to string publ 阅读全文
posted @ 2019-06-28 19:47
Tozhang
阅读(1539)
评论(1)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Syst 阅读全文
posted @ 2019-06-28 19:25
Tozhang
阅读(1848)
评论(0)
推荐(0)
摘要:
string str = "ABCD"; char[] strCharArr = str.ToCharArray(); //结果 //strCharArr[0]='A', //strCharArr[1]='B', //strCharArr[2]='C', //strCharArr[3]='D' st 阅读全文
posted @ 2019-06-28 19:11
Tozhang
阅读(30238)
评论(0)
推荐(0)

浙公网安备 33010602011771号