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();
}
}
}
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();
}
}
}