随笔分类 -  C#语法

编程语言的示例程序及相关说明
摘要:private static void SaleTicketThread1() { while (true) { try { Monitor.Enter(obj);//加锁 Thread... 阅读全文
posted @ 2017-01-04 09:08 Alfred.Xu 阅读(244) 评论(0) 推荐(0)
摘要:class Program { static string result1 = null; static void Main(string[] args) { string result= printresult(); ... 阅读全文
posted @ 2015-12-03 10:42 Alfred.Xu 阅读(271) 评论(0) 推荐(0)
摘要:DictionaryEntry是单个键值对的类型利用list的特性,完成按添加顺序排好的键值对publicListUrlList{get{returnurlList;}}DictionaryEntryde=newDictionaryEntry();de.Key=dph.FilePath;de.Val... 阅读全文
posted @ 2015-11-28 15:28 Alfred.Xu 阅读(728) 评论(0) 推荐(0)