摘要:
简易: MD5 md=MD5.Create(); byte[] by = Encoding.Default.GetBytes(tbox1.Text); byte[] by2= md.ComputeHash(by); string s = ""; for (int i = 0; i < by2.Len 阅读全文
posted @ 2020-08-31 10:47
AetlySaber
阅读(101)
评论(0)
推荐(0)
摘要:
普通: private void Button_Click(object sender, RoutedEventArgs e) { Person person = new Person(); person.age = 18; person.name = "gg"; FileStream stream 阅读全文
posted @ 2020-08-31 10:45
AetlySaber
阅读(70)
评论(0)
推荐(0)
摘要:
创建线程 Thread run方法是他要执行的 start是启动但不是立即执行 取决于cpu ThreadStart childref = new ThreadStart(线程执行的方法); Thread childThread = new Thread(childref); childThread 阅读全文
posted @ 2020-08-31 10:41
AetlySaber
阅读(120)
评论(0)
推荐(0)
摘要:
一个http请求的工具类 using Newtonsoft.Json.Linq;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System. 阅读全文
posted @ 2020-08-31 10:24
AetlySaber
阅读(304)
评论(0)
推荐(0)
摘要:
ObservableCollection<CompanyData> infos = new ObservableCollection<CompanyData>() { }; 声明一个动态集合,让list view的ItemsSource=这个集合 拿到所选项的某个值放在textbox里 Textbo 阅读全文
posted @ 2020-08-31 10:17
AetlySaber
阅读(198)
评论(0)
推荐(0)
摘要:
public static Dictionary<string, Uri> allViews = new Dictionary<string, Uri>();//定义个一个导航字典 =(frame的name) MainPage.NavigationUIVisibility = System.Wind 阅读全文
posted @ 2020-08-31 10:14
AetlySaber
阅读(266)
评论(0)
推荐(0)