05 2008 档案

经典数据结构之栈的应用-迷宫问题
摘要:Stack的应用非常广泛,如数学公式计算,树的前序遍历等等。 阅读全文

posted @ 2008-05-31 14:18 飞天舞者 阅读(2083) 评论(0) 推荐(0) 编辑

System.Collections深入探讨--如何创建自定义的集合类
摘要: 在System.Collections namespace下面,存在两个class ,分别为ArrayList和 List ,都可以实现对象的数组队列。那么两者之间到底有什么区别呢?如何利用其创建自定义的集合类呢? 阅读全文

posted @ 2008-05-29 17:18 飞天舞者 阅读(801) 评论(0) 推荐(0) 编辑

Garbage Collection Essence--.Net中Garbage Collection深入探讨
摘要:本文介绍了.Net Framework的垃圾回收机制,及其对managed resource和unmanaged resource的回收方法。 阅读全文

posted @ 2008-05-28 15:47 飞天舞者 阅读(408) 评论(0) 推荐(0) 编辑

ASP.NET中将检索出的数据写入Exel形成Report的一种solution
摘要:关键词:DataSet,DataTable, DataBase, Excel, Report 正文: 在基于web的MIS中,经常需要将从DataBase检索出的数据形成报表。而Exel报表在公司尤为常见。在.net Framework下,检索出的数据保存至DataSet或者DataTable是最常见的方法了。那么,如何将DataSet或DataTable中保存的内存数据写入Excel呢?... 阅读全文

posted @ 2008-05-26 16:40 飞天舞者 阅读(594) 评论(1) 推荐(0) 编辑

C#中的安全策略
摘要:1.安全性 .Net的安全性包括代码和数据不被错误的使用或者被其他的程序破坏,这种安全机制是通过加强对托管代码的限制和保护来实施的(This security mechanism is implemented by strengthing restriction and protection for the managed code)。 .Net 程序需要请求他们操作, 有管理员设定的安全... 阅读全文

posted @ 2008-05-26 15:00 飞天舞者 阅读(909) 评论(0) 推荐(0) 编辑

C#中不安全代码的编写和指针的应用
摘要:关键字:托管代码managed code, 不安全代码unsafe code, 固定托管指针fixed, 在stack上分配空间stackalloc Managedd Code和UnManaged Code 运行在公共语言运行库 (CLR) 的控制之下的代码称为“托管代码”,运行在 CLR 之外的代码称为“非托管代码”。COM、COM+、C++ 组件、ActiveX 组件和 Win32 ... 阅读全文

posted @ 2008-05-26 11:46 飞天舞者 阅读(1018) 评论(0) 推荐(0) 编辑

CPU Scheduling进程调度算法
摘要:1.Preemptive scheduling CPU scheduling decisons may take place under the following four conditions: 1.when a process switches from running state to the waiting state(for example, I/O Request ... 阅读全文

posted @ 2008-05-25 14:50 飞天舞者 阅读(1789) 评论(0) 推荐(0) 编辑

有关C#常见面试问题
摘要:如果你能全部正确回答,说明你对C#和.NET Framework有一定深度的了解 阅读全文

posted @ 2008-05-22 21:57 飞天舞者 阅读(662) 评论(0) 推荐(0) 编辑

C#中值类型和引用类型(value type&Reference tyoe)深度探讨
摘要:在C#中,no matter what language the code is programmed with, 所有的source code都被编译成为IL,然后再CLR(类似于JAVA的虚拟机)上运行。当然,CLR会负责把IL转化为machine language. 但是,不管我们运用那种语言编程,都会存在一些最为常用的数据类型,我们称之为primitive t... 阅读全文

posted @ 2008-05-22 16:55 飞天舞者 阅读(783) 评论(0) 推荐(0) 编辑

Some normal compiling and debugging commands for C# 常见C#调试和编译命令
摘要:1.compile File.cs and generate File.exe编译file.cs 生成file.exe csc file.cs 2.comple File.cs and generate File.dll编译file.cs生成file.dll csc /target:library filel.cs 3.only complie file.cs without g... 阅读全文

posted @ 2008-05-21 11:51 飞天舞者 阅读(273) 评论(0) 推荐(0) 编辑

Common Principles in Software Engineering软件工程常见几大原则
摘要:备注:本文摘自于其他blog. 1、OCP(Open-close principle)开放-封闭原则 是指一个软件实体应当对扩张开放,对修改关闭。 Benifits: 通过扩张已有软件系统,可以提供新的行为,以满足对软件新的需求,使变化中的软件有一定的适应性和灵活性。 已有软件模块,特别是重要的抽象层模块不能再修改,这使得变化中的软件系统有一定的稳定性和延续性... 阅读全文

posted @ 2008-05-20 11:31 飞天舞者 阅读(649) 评论(0) 推荐(0) 编辑

[结构型(接口型模式)]Adapter pattern 适配器模式
摘要:1 Adapter模式的作用 假设存在已经开发好的类及其特定方法,但是在reuse的时候和现有接口之间存在不协调,这时我们必须利用某种机制将已经存在的特定方法转化为另外能够接受的方法。这就是Adapter pattern。 (Adapter pattern是所有模式中最简单直观的模式了 :) ) 2 Adapter模式的分类 Adapter模式的实现分为2种方式。 一种是建... 阅读全文

posted @ 2008-05-13 15:50 飞天舞者 阅读(315) 评论(0) 推荐(0) 编辑

[创建型模式系列]simple factory & factory method 简单工厂类和工厂方法类的概念及区别
摘要:1.simple factory pattern简单工厂类模式 simple factory is that all products are produced by the respectice concrete method from simple factory. 简单工厂类就是所有其产品都是由简单工厂的具体方法来生产的。 还是以abstract类介绍的桌子生产过程为... 阅读全文

posted @ 2008-05-13 14:25 飞天舞者 阅读(487) 评论(0) 推荐(0) 编辑

[创建型模式系列]Abstract factory of Design Pattern模式设计之抽象工厂模式
摘要:1 the intention of asbract factory抽象工厂模式的设计意图 to supply interface for a series of related or depedent objects, meanwhile, you do not need to specify the concrete classes。 提供一个创建一系列相关或者... 阅读全文

posted @ 2008-05-13 12:21 飞天舞者 阅读(482) 评论(0) 推荐(0) 编辑

PROCESS[进程]
摘要:abstract: A process is an basic element to allocate resource from system. Process concept:[进程的基本概念] Informally, a process is a program in execution. A process is more than the program code, whitch is... 阅读全文

posted @ 2008-05-10 11:04 飞天舞者 阅读(881) 评论(0) 推荐(0) 编辑

Process multi-row data with cursor or without cursor[利用游标或者非游标处理多行数据]
摘要:Implement functionality using Cusor /* decription: import data from BomIntraplantRoute_Buckets of ofg_response_staging into ds_in_bom_intraplant_route_bucket of OFG_SLV_DEV created by: Winstion He on... 阅读全文

posted @ 2008-05-07 21:14 飞天舞者 阅读(410) 评论(0) 推荐(0) 编辑

[创建型模式系列]Chain of Responsibility Pattern 责任链模式
摘要:1 Chain of Responsibility Concepts 责任链基础 Chain of Responsibility is a kind of behaviour pattern for object. In the COR pattern, many objects which are referenced to next form a responsibility ... 阅读全文

posted @ 2008-05-07 11:35 飞天舞者 阅读(387) 评论(0) 推荐(0) 编辑

The Mediator Pattern of Design Model调停者模式/中介者模式
摘要:1 Mediator Pattern definition 调停者模式定义 The Mediator Pattern defines an object that encapsulates how a set of objects interact. This promotes loose coupling,keeping the objects from refering to ... 阅读全文

posted @ 2008-05-05 17:19 飞天舞者 阅读(708) 评论(0) 推荐(0) 编辑

The Singleton of Design Pattern单态模式
摘要:1 Singleton Definition 单态模式定义 The main purpose is to gurantee that the instance of class has only one in the application. some operations, such as connecting to database, are userful for only... 阅读全文

posted @ 2008-05-05 11:58 飞天舞者 阅读(414) 评论(0) 推荐(0) 编辑

[结构型(接口型模式)]the Bridge Pattern桥接模式
摘要:1.the intention of Bridge pattern 桥接模式的意图 Bridge pattern is to make interface separate with their respective concrete implementation. 桥接模式的意图是将抽象部分与他的实现部分相分离。 2.when to apply this pattern适用... 阅读全文

posted @ 2008-05-03 10:35 飞天舞者 阅读(404) 评论(0) 推荐(0) 编辑

A store procedure sample using caes ...when ...then...
摘要:create proc Pr_ToSolver_ds_in_item_loc as if exists(select * from OFG_SLV_DEV3.dbo.ds_in_item_loc) delete from OFG_SLV_DEV3.dbo.ds_in_item_loc insert into OFG_SLV_DEV3.dbo.ds_in_item_loc ( ... 阅读全文

posted @ 2008-05-02 13:05 飞天舞者 阅读(288) 评论(0) 推荐(0) 编辑

DOM(Document Object Model) concepts (DOM基础)
摘要:1. What is DOM? DOM is an abbrieviattion for Document Object Model. DOM represent a page as a tree which consists of nodes. therefore , we can manipulate these nodes in order to modify and self-d... 阅读全文

posted @ 2008-05-02 11:25 飞天舞者 阅读(773) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
For more information about me, feel free email to me winston.he@hotmail.com
点击右上角即可分享
微信分享提示