摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Threading;namespacepLib{publicclassMSQueue&l... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///GB2312的拼音算法,不支持多音字///</summary>publicclassGB2Alpha{publicstaticvoidGetAlp... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///微软桌面操作系统版本///</summary>publicenumOSVersion{UnKnown=0,Windows95=1,Windows9... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///<code>///byte数组///本类实例和socket配对///仅用于储存网络缓存数据///</code>///</summ... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstaticboolIsNumber(stringinString){if(string.IsNullOrEmpty(inString))returnfalse;Regexregex=ne... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///char[]转换为string///</summary>publicstaticstringCharsToStr(char[]buff){stri... 阅读全文
摘要:
c#中要让struct转换为byte[],首先要在struct申明中说明struct的结构,如下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///数据包内容的头信息///</summary>[... 阅读全文