上一页 1 ··· 99 100 101 102 103 104 105 106 107 ··· 127 下一页
摘要: 1.Install-Package Unity -Version 4.0.1 2. using Microsoft.Practices.Unity; using WpfApp9.IModels; using WpfApp9.Models; using WpfApp9.ViewModel; names 阅读全文
posted @ 2020-11-17 15:55 FredGrit 阅读(121) 评论(0) 推荐(0)
摘要: using MySql.Data.MySqlClient; using Dapper; static void MySqlDapperDemo() { string connString = "Server=localhost;Port=3306;Database=firstSchema;Uid=U 阅读全文
posted @ 2020-11-09 15:11 FredGrit 阅读(265) 评论(0) 推荐(0)
摘要: The json string has additional message as below,I'll extract the data part and convert it to DataTable via JObject,JToken,Jarray in NewtonSoft.Json. { 阅读全文
posted @ 2020-10-27 11:37 FredGrit 阅读(165) 评论(0) 推荐(0)
摘要: static bool isStop = true; static void Main(string[] args) { Thread t = new Thread(PrintX); t.Start(); isStop = t.Join(TimeSpan.FromSeconds(10)); Cons 阅读全文
posted @ 2020-10-26 10:54 FredGrit 阅读(107) 评论(0) 推荐(0)
摘要: static void WebClientDownLoadFileDemo() { string url = "http://dl.booktolearn.com/ebooks2/computer/gamedevelopment/9781789532050_Learning_C_Unity_2019 阅读全文
posted @ 2020-10-23 14:18 FredGrit 阅读(112) 评论(0) 推荐(0)
摘要: string URI = "http://www.myurl.com/post.php"; string myParameters = "param1=value1&param2=value2&param3=value3"; using (WebClient wc = new WebClient() 阅读全文
posted @ 2020-10-22 11:11 FredGrit 阅读(104) 评论(0) 推荐(0)
摘要: 1 this.FormClosing += AFormClosing; 2 3 4 private void AFormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e) 5 { 6 if (e.CloseReaso 阅读全文
posted @ 2020-10-21 15:32 FredGrit 阅读(104) 评论(0) 推荐(0)
摘要: 1 using Newtonsoft.Json; 2 using Newtonsoft.Json.Linq; 3 4 static void Main(string[] args) 5 { 6 TestJsonValid(); 7 Console.ReadLine(); 8 } 9 10 stati 阅读全文
posted @ 2020-10-14 14:54 FredGrit 阅读(181) 评论(0) 推荐(0)
摘要: <Window x:Class="YourApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2020-10-14 14:17 FredGrit 阅读(84) 评论(0) 推荐(0)
摘要: using System.Text.RegularExpressions; static void ExtractIpDemo() { string url = "192.125.35.48\\d\\subfolder\\bsubfolder\\cfolder\\d.txt"; string ipV 阅读全文
posted @ 2020-10-12 17:27 FredGrit 阅读(130) 评论(0) 推荐(0)
上一页 1 ··· 99 100 101 102 103 104 105 106 107 ··· 127 下一页