<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[拍拍尘土]]></title> 
    <link>http://blog.xg98.com/</link> 
    <description><![CDATA[五月枇杷黄，太湖银鱼肥]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2026, 拍拍尘土]]></copyright> 
    <webMaster><![CDATA[cxosoft@gmail.com (Admin)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Tue, 05 May 2026 23:45:19 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[C# Regex正则匹配所有字符（遇到换行回车\r\n问题）]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2912]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Sat, 14 Jan 2023 16:30:08 +0800</pubDate> 
      <description><![CDATA[使用Regex.Match（）方法的时候，想匹配一个子串，但是要匹配的内容可能在我加载的资源中出现换行，比如我的资源内容为john \r\n smith，我想把john smith匹配出来。<br /><br />1. 正则表达式中点号（.）代表除了\n以外的所有字符，但是这仅限于在中括号外使用（[]），如果在中括号内使用，就仅代表点号本身，所以这个正则可以写为 &quot;john(.|\n)*?smith&quot;。<br /><br />2. 正则表达式中\s代表包含制表（\t），换行，空格的所有空白字符，\S代表不包含制表，换行，空格的所有非空白字符，那么这2个自由组合就可得到所有字符，所以可以这么写&quot;johnbbs<span style="color:Red">[\s\S]*?</span>smith&quot;,<br /><br />3. C#正则表达式namespace中Regex.Match()方法接收第3个参数，这个参数是一个RegexOptions枚举，经过我的试验，发现我要匹]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2912]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Microsoft Visual Studio 开发 fiddler 插件过程总结]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2910]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Wed, 11 Jan 2023 23:40:48 +0800</pubDate> 
      <description><![CDATA[插件中心/列表<br /><a href="https://www.telerik.com/fiddler/add-ons" title="https://www.telerik.com/fiddler/add-ons" target="_blank">https://www.telerik.com/fiddler/add-ons</a><br /><br />官方资料<br /><a href="https://docs.telerik.com/fiddler/Extend-Fiddler/ExtendWithDotNet" title="https://docs.telerik.com/fiddler/Extend-Fiddler/ExtendWithDotNet" target="_blank">https://docs.telerik.com/fiddler/Extend-Fiddler/ExtendWithDotNet</a><br /><a href="https://docs.telerik.com/fiddler/Extend-Fiddler/CreateExtension" title="https://docs.telerik.com/fiddler/Extend-Fiddler/CreateExtension" target="_blank">https://docs.telerik.com/fiddler/Extend-Fiddler/CreateExtension</a><br /><br />其他资料<br /><a href="https://www.cnblogs.com/gufengchen/p/10982080.html#x1" title="https://www.cnblogs.com/gufengchen/p/10982080.html#x1" target="_blank">https://www.cnblogs.com/gufengchen/p/10982080.html#x1</a><br /><br /><br /><br />参考：<a href="http://zhuoqun.info/article/315/" title="http://zhuoqun.info/article/315/" target="_blank">http://zhuoqun.info/article/315/</a>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2910]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[C# 版本和.NET 版本以及VS版本的对应关系]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2905]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Wed, 11 Jan 2023 23:14:02 +0800</pubDate> 
      <description><![CDATA[<p><span style="FONT-SIZE: medium; FONT-FAMILY: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif">简单的来说：</span><br style="FONT-SIZE: medium; FONT-FAMILY: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; WHITE-SPACE: normal"/><span style="FONT-SIZE: medium; FONT-FAMILY: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif">&nbsp; &nbsp; VS2010 最高用到 .Net Framework4，C# 4.0</span><br style="FONT-SIZE: medium; FONT-FAMILY: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; WHITE-SPACE: normal"/><span ]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2905]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[C#--LINQ--查询语句与查询方法]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2827]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 07 Feb 2022 21:31:12 +0800</pubDate> 
      <description><![CDATA[<p>C#--LINQ--查询语句与查询方法 <a href="https://blog.csdn.net/qq_36482772/article/details/78726618" rel="noopener" style="color: rgb(255, 0, 0); text-decoration: underline;"><span style="color: rgb(255, 0, 0);">https://blog.csdn.net/qq_36482772/article/details/78726618</span></a><br/></p><p>c# Linq查询 &nbsp;<span style="color: rgb(255, 0, 0); text-decoration: underline;"><a href="https://www.cnblogs.com/dullfish/p/6101912.html" target="_self" style="color: rgb(255, 0, 0); text-decoration: underline;">https://www.cnblogs.com/dullfish/p/6101912.html</a></span></p><p><br/></p><p><strong><span style="color: rgb(77, 77, 77); font-family: -apple-system, &quot;SF UI Text&quot;, ]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2827]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[c#如何选择数据结构]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2825]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 24 Jan 2022 16:59:42 +0800</pubDate> 
      <description><![CDATA[p.s.常用的数组 <br /><br /><br /><b>文章:常用数据结构及复杂度，必须看一看</b>  <a href="https://www.cnblogs.com/gaochundong/p/3813252.html#!comments" title="https://www.cnblogs.com/gaochundong/p/3813252.html#!comments" target="_blank">https://www.cnblogs.com/gaochundong/p/3813252.html#!comments</a><br /><br /><b>Array (<span style="color:Red">T[]</span>)</b><br />当元素的数量是固定的，并且需要使用下标时。<br />string[] news = new string[10];  //一维数组<br />string[,] news = new string[10,8];  //二维数组<br />int[][] numbers = { new int[] {2,3,4}, new int[] {5,6,7,8,9} };  //数组成员也是数组的情况<br /><br /><b>Linked list (LinkedList&lt;T&gt;)</b><br />当元素需要能够在列表的两端添加时。否则使用 List&lt;T&gt;。<br /><br /><b>Resizable </b>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2825]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[C#中List怎么用?泛型List基础用法汇总]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2824]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 24 Jan 2022 16:47:22 +0800</pubDate> 
      <description><![CDATA[C#中的List怎么样？List&lt;T&gt;类是ArrayList类的泛型等效类，该类使用大小可按需动态增加的数组实现IList&lt;T&gt;泛型接口。<br />　　泛型的好处：它为使用c#语言编写面向对象程序增加了极大的效力和灵活性。不会强行对值类型进行装箱和拆箱，或对引用类型进行向下强制类型转换，所以性能得到提高。<br /> &nbsp; <br /><br />　　性能注意事项：在决定使用IList&lt;T&gt;还是使用ArrayList类(两者具有类似的功能)时，记住IList&lt;T&gt;类在大多数情况下执行得更好并且是类型安全的。如果对IList&lt;T&gt;类的类型T 使用引用类型，则两个类的行为是完全相同的。但是，如果对类型T 使用值类型，则需要考虑实现和装箱问题。<br /><br />C# List的基础常用方法：<br /> &nbsp; <br /><br />　　<span style="color:Red">一、声明：</span><br /><br />　　1、List&lt;T&gt; mList = new List&lt;T&gt;();<br /><br />　　T为列表中元素类型，现在以string类型作为例子：<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2824]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[C#中数组、ArrayList和List三者的区别]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2823]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 24 Jan 2022 16:37:45 +0800</pubDate> 
      <description><![CDATA[在C#中数组，ArrayList，List都能够存储一组对象，那么这三者到底有什么样的区别呢。<br /><br /><span style="color:Red"><b>数组</b></span><br />数组在C#中最早出现的。在内存中是连续存储的，所以它的索引速度非常快，而且赋值与修改元素也很简单。<div class="code"><br />//数组<br />string[] s=new string[2];<br />&nbsp;&nbsp; <br />//赋值<br />s[0]=&quot;a&quot;;<br />s[1]=&quot;b&quot;;<br /><br />//修改<br />s[1]=&quot;a1&quot;;</div> &nbsp; &nbsp; &nbsp; &nbsp; 但是数组存在一些不足的地方。在数组的两个数据间插入数据是很麻烦的，而且在声明数组的时候必须指定数组的长度，数组的长度过长，会造成内存浪费，过段会造成数据溢出的错误。如果在声明数组时我们不清楚数组的长度，就会变得很麻烦。<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp; 针对数组的这些缺点，C#中最先提供了ArrayList对象来克服这些缺点。<br /><br /><span style="color:Red"><b>ArrayList</b></span><br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2823]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[C#泛型类的定义及使用]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2822]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Sun, 23 Jan 2022 15:19:39 +0800</pubDate> 
      <description><![CDATA[C# 语言中泛型类的定义与泛型方法类似，是在泛型类的名称后面加上&lt;T&gt;，当然,也可以定义多个类型，即“&lt;T1,T2,・・・&gt;”。<br /><br />具体的定义形式如下。<div class="code">class 类名&lt;T1,T2,…&gt;<br />{<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; //类的成员<br />}</div><br />这样，在类的成员中即可使用 T1、T2 等类型来定义。<br /><br />下面通过实例来演示泛型类的使用。<br /><br />【实例】定义泛型类，并在泛型类中定义数组，提供添加和显示数组中全部元素的 方法。<br /><br />根据题目要求，代码如下。<br /><div class="code">class MyTest&lt;T&gt;<br />{<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; private T[] items = new T[3];<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; private int index = 0;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; //向数组中添加项<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; public void Add(T t)<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (index &lt; 3)<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2822]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[c#读写ini配置文件示例]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2821]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Sat, 22 Jan 2022 10:27:40 +0800</pubDate> 
      <description><![CDATA[虽然c#里都是添加app.config 并且访问也很方便 ，有时候还是不习惯用他。那么我们来做个仿C++下的那种ini配置文件读写吧<br />其他人写的都是调用非托管kernel32.dll。我也用过 但是感觉兼容性有点不好 有时候会出现编码错误，毕竟一个是以前的系统一个是现在的系统。咱来写一个纯C#的ini格式配置文件读取，其实就是文本文件读写啦。但是我们要做的绝不仅仅是这样 是为了访问操作的方便 更是为了以后的使用。<br /><br /><br />都知道ini格式的配置文件里各个配置项 其实就是一行一行的文本 key跟value 用等号隔开。<br />像这样：<br />grade=5 。<br />各个配置项又进行分组 同类型的放到一起 称之为section 以中括号（[]）区分。<br />像这样：<br />[contact]<br />qq=410910748<br />website=assassinx.cnblogs.com<br />[score]<br />math=85<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2821]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[c#将json串转换成数组（使用Newtonsoft）]]></title> 
      <link><![CDATA[http://blog.xg98.com/article.asp?id=2818]]></link> 
      <category><![CDATA[C#]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 17 Jan 2022 17:04:33 +0800</pubDate> 
      <description><![CDATA[<div class="code">using Newtonsoft.Json.Linq;<br />using Newtonsoft.Json;<br /><br />string jsonText =<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;      &quot;{&#39;Total&#39;:&#39;0&#39;,&#39;Rows&#39;:[{&#39;id&#39;:&#39;31&#39;,&#39;project&#39;:&#39;6&#39;,&#39;project_name&#39;:&#39;一卡通&#39;,&#39;name&#39;:&#39;接口测试！&#39;,&#39;assignedTo&#39;:&#39;zhangsan&#39;,&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;       +&quot;&#39;realname&#39;:&#39;张三&#39;,&#39;estStarted&#39;:&#39;2016/11/23&#39;,&#39;realStarted&#39;:&#39;2000/01/01&#39;,&#39;status&#39;:&#39;wait&#39;},&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;     + &quot;{&#39;id&#39;:&#39;32&#39;,&#39;project&#39;:&#39;6&#39;,&#39;project_name&#39;:&#39;一卡通&#39;,&#39;name&#39;:&#39;测试服务器调通！&#39;,&#39;assignedTo&#39;:&#39;lisi&#39;,&quot;</div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.xg98.com/feed.asp?q=comment&id=2818]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
