百度首页 | 百度空间
 
文章列表
 
2008-05-23 13:52

using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern
{
    public class Prototype
    {
        public string field1;
        public int field2;
        public string[] field3;
        public int[] field4;

   

类别:c#版设计模式(design pattern) | 评论(0) | 浏览()
 
2008-05-23 13:51

using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern
{
    public class Car
    {
        public virtual void testmethod()
        {
            Console.WriteLine("This is a Car.");
        }

类别:c#版设计模式(design pattern) | 评论(0) | 浏览()
 
2008-05-21 17:58

using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern
{
    /// <summary>
    /// 工人们都会几样手艺,但对相同的工作可能做法不一样
    /// </summary>
    interface IBuilder
    {
        void buildA();
        void buildB();
  

类别:c#版设计模式(design pattern) | 评论(0) | 浏览()
 
2008-05-21 17:57

using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern
{
    public class SingletonPattern
    {
        private static SingletonPattern _singletonpattern;

        /// <summary>
        /// protect the constructor so that instance can't be create outside by keyword n

类别:c#版设计模式(design pattern) | 评论(0) | 浏览()
 
2008-05-20 13:33

经常在QQ消息中收到各种故事,需要接收者传递给其他的人。特别是在特殊节日或者有特殊事件发生以后。
比如某某地方将要再次发生地震啊,赶快传递给其他人啊
比如母亲节要到了,为母亲送上祝福,并要求传递给其他人,否则受诅咒拉
再比如某某感人的故事已经围绕地球转了几圈才到这里啊,传递给其他人就能得到什么什么拉
。。。

各种损招都有,目的就一个:希望消息传递出去。

仔细分析一下,这些消息传递出去以后,对始发者有什么好处吗?或者仅仅是个游戏?或者为了传播谣言?
后综合分析,这

类别:我之拙见 | 评论(0) | 浏览()
 
     
 
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

我的mail是lulei2007(##)gmail.com
 

可以把你的邮箱留给我吗?期待中。。。
 

请 好 你 谢
不 吗 会 谢
要 ? 雷 合
发 到 作
如 其 !
此 人
消 的...
 

感谢感谢
 

祝你生日快乐,
迟到的祝福.
愿永远顺心.
 
     


©2008 Baidu