Just For Fun

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

namespace TestFuns
{
    
class Program
    
{

        
Functions

        
DelegateDemo

        
static void Main(string[] args)
        
{
            
for (int i = 0; i < 10; i++)
                Console.WriteLine(numlist(i));

            InsertRandomArr();
            ShowMsgInfo sm 
= new ShowMsgInfo();
            sm.ShowMsg 
= new ShowMsgInfo.msgOut(ShowHTML);
            Console.WriteLine(sm.ShowMsg(
"Test"));
            sm.ShowMsg 
= new ShowMsgInfo.msgOut(ShowTXT);
            Console.WriteLine(sm.ShowMsg(
"Test2"));
            Console.Read();


        }

    }

}

posted @ 2009-11-13 20:14  David Dong  阅读(231)  评论(0编辑  收藏  举报