上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 94 下一页
摘要: How to find and replace CRLF using Notepad++ You can use regular expression to find CRLF character, Open file in Notepad++ Goto Find & Replace , Make 阅读全文
posted @ 2020-05-13 09:49 FredGrit 阅读(125) 评论(0) 推荐(0) 编辑
摘要: /// <summary> ///Class Summary, Xml Comments Summary /// </summary> public class XmlCommentsSummary { /// <summary> /// Print DateTime Now /// </summa 阅读全文
posted @ 2020-05-07 12:04 FredGrit 阅读(1530) 评论(2) 推荐(2) 编辑
摘要: using System.Drawing; using System.IO; using System.Drawing.Imaging; static void ConvertContentToImg() { using(Image img=Image.FromFile("c1.jpg")) { u 阅读全文
posted @ 2020-05-04 21:43 FredGrit 阅读(191) 评论(0) 推荐(0) 编辑
摘要: static void StringToMoney() { Console.WriteLine(214748364700.ToString("C",CultureInfo.GetCultureInfo("en-us"))); } 阅读全文
posted @ 2020-04-26 16:27 FredGrit 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1 using System.Dynamic; 2 public class Duck : DynamicObject 3 { 4 public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out o 阅读全文
posted @ 2020-04-19 23:13 FredGrit 阅读(101) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.CompilerServices; static void AttributesDemo([CallerMemberName] string memberName = null, [CallerFilePath] string filePath = null 阅读全文
posted @ 2020-04-19 22:40 FredGrit 阅读(112) 评论(0) 推荐(0) 编辑
摘要: static void WebClientDemo() { string str = null; using(WebClient wc=new WebClient()) { try { str = wc.DownloadString("http://www.albahari.com/nutshell 阅读全文
posted @ 2020-04-19 19:19 FredGrit 阅读(238) 评论(0) 推荐(0) 编辑
摘要: public partial class Form1 : Form { CancellationTokenSource cts = new CancellationTokenSource(); public Form1() { InitializeComponent(); } private voi 阅读全文
posted @ 2020-04-09 10:19 FredGrit 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: using System.Reflection; static void EnvironmentDemo() { var pis = typeof(Environment).GetProperties().OrderBy(x=>x.Name).ToList(); for(int i=0;i<pis. 阅读全文
posted @ 2020-03-30 18:09 FredGrit 阅读(108) 评论(0) 推荐(0) 编辑
摘要: using System.Net.Http; static void Main(string[] args) { var httpTask = Task<string>.Run<string>(() => { return MainAsync(); }); httpTask.Wait(); Cons 阅读全文
posted @ 2020-03-24 09:59 FredGrit 阅读(2639) 评论(0) 推荐(2) 编辑
上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 94 下一页