<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[catchdream的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/catchdream</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; catchdream]]></copyright><item><title><![CDATA[制作Windows服务和安装程序(C#版)]]></title><link>https://blog.csdn.net/catchdream/article/details/9293321</link><guid>https://blog.csdn.net/catchdream/article/details/9293321</guid><author>catchdream</author><pubDate>Wed, 10 Jul 2013 17:40:56 +0800</pubDate><description><![CDATA[1、创建服务项目：
       打开VS 2005 编程环境，在C#中新建Windows服务程序
 
2、将安装程序添加到服务程序：
       在服务项目中双击新建的服务类，默认情况下是Service1.cs，出现Service1.cs设计界面，鼠标右键选择“添加安装程序”，系统自动生成项目安装类ProjectInstaller.cs，安装类中添加了两个安装组件：ServicePro]]></description><category></category></item><item><title><![CDATA[一维数学方程式组求解。]]></title><link>https://blog.csdn.net/catchdream/article/details/8597808</link><guid>https://blog.csdn.net/catchdream/article/details/8597808</guid><author>catchdream</author><pubDate>Thu, 21 Feb 2013 11:50:21 +0800</pubDate><description><![CDATA[通过消元法得到新的低阶方程组，递归求解新方程组，最后求解所消去变元。
    class Program
    {
        static void Main(string[] args)
        {            
            List list = new List();
            decimal[] equation = new decim]]></description><category></category></item><item><title><![CDATA[List<T> 与ArrayList 性能比较]]></title><link>https://blog.csdn.net/catchdream/article/details/8587301</link><guid>https://blog.csdn.net/catchdream/article/details/8587301</guid><author>catchdream</author><pubDate>Mon, 18 Feb 2013 11:35:48 +0800</pubDate><description><![CDATA[ValueType 情况下：这二者性能相差显著，List 要好太多，且没有装箱操作，也就没有GC回收次数太多的问题。
ReferenceType：性能相差不多。不过也是前者比后者好。
    class ListTest
    {
        public static void EfficiencyTest()
        {
            ValueTypePe]]></description><category></category></item><item><title><![CDATA[.net Timer 比较]]></title><link>https://blog.csdn.net/catchdream/article/details/8524182</link><guid>https://blog.csdn.net/catchdream/article/details/8524182</guid><author>catchdream</author><pubDate>Mon, 21 Jan 2013 11:56:49 +0800</pubDate><description><![CDATA[在 Win32 
体系结构中有两种类型的线程：UI 
线程和辅助线程。UI 线程绝大多数时间处于空闲状态，等待消息循环中的消息到来。一旦接收到消息，它们就进行处理并等待下一个消息到来。另外，辅助线程用来执行后台处理而且不使用消息循环。Windows计时器和基于服务器的计时器在运行时都使用
 Interval属性。线程计时器的时间间隔在 Timer构造函数中设置。计时器的设计目的各不相同，它们]]></description><category></category></item><item><title><![CDATA[.net类的初始化机制,顺序,内存分配]]></title><link>https://blog.csdn.net/catchdream/article/details/8523825</link><guid>https://blog.csdn.net/catchdream/article/details/8523825</guid><author>catchdream</author><pubDate>Mon, 21 Jan 2013 11:36:08 +0800</pubDate><description><![CDATA[对于类的初始化，久不温习，都有点忘记了，查了些资料，留此以作备忘：


★类成员的初始化顺序, 举例 ChildClass从ParentClass继承而来

1.  初始化ChildClass的静态字段(按声明顺序)
2.  初始化ChildClass的静态构造函数
3.  初始化ChildClass的实例字段
4.  调用ChildClass的构造函数,并在此中断, 调用Pare]]></description><category></category></item><item><title><![CDATA[如何把Session存入数据库]]></title><link>https://blog.csdn.net/catchdream/article/details/6722424</link><guid>https://blog.csdn.net/catchdream/article/details/6722424</guid><author>catchdream</author><pubDate>Fri, 26 Aug 2011 16:11:31 +0800</pubDate><description><![CDATA[分为2步：
1。通过Aspnet_regsql.exe 来安装会话状态数据库：

下面的命令将在名为“localhost”的 SQL Server 实例上创建一个名为 ASPState 的数据库，并指定会话数据也存储在 ASPState 数据库中。

aspnet_regsql.exe -S localhost -E -ssadd -sstype p


2。修改Web.Config]]></description><category></category></item><item><title><![CDATA[求两个字符串的最长公共子串(LCS)]]></title><link>https://blog.csdn.net/catchdream/article/details/6708109</link><guid>https://blog.csdn.net/catchdream/article/details/6708109</guid><author>catchdream</author><pubDate>Mon, 22 Aug 2011 13:22:42 +0800</pubDate><description><![CDATA[记字符串Xi和Yj的LCS的长度为c[i,j]（c[i][j] 代表了长度为i的X子串和长度为j的Y子串的LCS的长度)，我们可以递归地求c[i,j]：
          /      0                               if i
c[i,j]=]]></description><category></category></item><item><title><![CDATA[通过js在父子窗口中传值]]></title><link>https://blog.csdn.net/catchdream/article/details/6676594</link><guid>https://blog.csdn.net/catchdream/article/details/6676594</guid><author>catchdream</author><pubDate>Wed, 10 Aug 2011 17:47:23 +0800</pubDate><description><![CDATA[大概有2中方式
1，通过showModalDialog来打开子窗口

 //打开模式窗口
 function open1(){
  //设置模式窗口的一些状态值
  var windowStatus = "dialogWidth:260px;dialogHeight:180]]></description><category></category></item><item><title><![CDATA[从长度为N的数组中找出所有M个元素组合的优化算法]]></title><link>https://blog.csdn.net/catchdream/article/details/6663784</link><guid>https://blog.csdn.net/catchdream/article/details/6663784</guid><author>catchdream</author><pubDate>Fri, 05 Aug 2011 17:11:23 +0800</pubDate><description><![CDATA[在算法中找到M个元素组合后，可以再进行补充判断条件等，目前只进行输出。
public void DoSomethingFromArray(object[] input, int m)
        {
            int n = input.Length;]]></description><category></category></item><item><title><![CDATA[xp asp.net 对路径*.xml的访问被拒绝]]></title><link>https://blog.csdn.net/catchdream/article/details/6644551</link><guid>https://blog.csdn.net/catchdream/article/details/6644551</guid><author>catchdream</author><pubDate>Fri, 29 Jul 2011 15:47:35 +0800</pubDate><description><![CDATA[说明: 执行当前 Web 请求期间，出现未处理的异常。请检查堆栈跟踪信息，以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.UnauthorizedAccessException: 对路径“F:\aspxnet\WebSite\MyMessage]]></description><category></category></item><item><title><![CDATA[div各种属性]]></title><link>https://blog.csdn.net/catchdream/article/details/6623548</link><guid>https://blog.csdn.net/catchdream/article/details/6623548</guid><author>catchdream</author><pubDate>Thu, 21 Jul 2011 16:39:10 +0800</pubDate><description><![CDATA[position 决定 DIV tag 是如何放置的。“relative”意思是DIV的位置是相对于其他 tag 的，而“absolute”是说 DIV tag 的位置是相对于它所在的窗口。 left 相对于窗口左边的位置 top 相对于窗口上边的位置 width DIV tag]]></description><category></category></item><item><title><![CDATA[有一个整数数组（包括正数 负数 和0），给定一个M值，要求数组中的一个或多个值相加的和等于M，有多少种组合？]]></title><link>https://blog.csdn.net/catchdream/article/details/6609250</link><guid>https://blog.csdn.net/catchdream/article/details/6609250</guid><author>catchdream</author><pubDate>Fri, 15 Jul 2011 17:28:44 +0800</pubDate><description><![CDATA[思路：求出所有可能的组合， 判断每个组合相加的值是否等于M；计数组长度为N，则每一种组合相当于一个长度为N的二进制串：串中每一位表示对应整数是否在此组合中，1表示在，0表示不在；如 01101...表示这个组合不包含数组的 0和3，但包含 1,2,4.class Test]]></description><category></category></item><item><title><![CDATA[高效获取网页源码]]></title><link>https://blog.csdn.net/catchdream/article/details/6609179</link><guid>https://blog.csdn.net/catchdream/article/details/6609179</guid><author>catchdream</author><pubDate>Fri, 15 Jul 2011 17:02:45 +0800</pubDate><description><![CDATA[在不依赖界面的使用WebBrowser的前提下，可以用.net封装好的WebClient下载页面，也可以用HttpRequest发请求。当然，也可以退回去用xmlhttp这个com组件获取。事实证明，com组件非常快，而且很好用。因为页面的编码是自动识别的。多的不说，看代码，以下]]></description><category></category></item><item><title><![CDATA[c#自杀程序的关键方法]]></title><link>https://blog.csdn.net/catchdream/article/details/6609154</link><guid>https://blog.csdn.net/catchdream/article/details/6609154</guid><author>catchdream</author><pubDate>Fri, 15 Jul 2011 17:00:00 +0800</pubDate><description><![CDATA[# public static void TestForKillMyself()  
#         {  
#             string bat = @"@echo off  
# :tryagain  
# del %1  
# if exist %1 got]]></description><category></category></item></channel></rss>