摘要: using System; using System.Threading; namespace Test { class Program { static void Main(string[] args) { new Thread(() => { for (var i... 阅读全文
posted @ 2018-08-13 06:33 老王子 阅读(131) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; namespace Test { class Program { static void Main(string[] args) { var list = new List { 1, 2, 3, 4, 5, 6, 7, 8, 9... 阅读全文
posted @ 2018-08-09 00:39 老王子 阅读(358) 评论(0) 推荐(0) 编辑
摘要: using System; namespace Test { delegate void InformDelegate(string from); class Program { static void Main(string[] args) { new Regist().Invoke1(); ... 阅读全文
posted @ 2018-08-08 11:26 老王子 阅读(146) 评论(0) 推荐(0) 编辑
摘要: using System; namespace TEST { class Program { static void Main(string[] args) { var structA = new StructA { X = 1 }; ChangeStructA(structA);// struct 阅读全文
posted @ 2018-08-01 22:13 老王子 阅读(251) 评论(0) 推荐(0) 编辑
摘要: {{ parentItem.title }} {{ item.title }} ... 阅读全文
posted @ 2018-06-06 02:58 老王子 阅读(3846) 评论(0) 推荐(0) 编辑
摘要: namespace Test { class Program { static void Main(string[] args) { var list = new List() { new Menu () { Id = 1, Name = "主菜单1", PId = 0... 阅读全文
posted @ 2018-05-09 20:14 老王子 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: using System.IO; using System.Runtime.Serialization; using System.ServiceModel; using System.Xml.Serialization; namespace WcfService { [ServiceContract] public interface IBookService { ... 阅读全文
posted @ 2018-03-27 00:42 老王子 阅读(160) 评论(0) 推荐(0) 编辑