摘要:
以前有个朋友提出这样一个问题:有一个接口Interface1定义如下:
interface Interface1
{
void HelloWorld();
}
用一个类去实现这个接口:
public class class1 : Interface1
{
public void HelloWorld()
{
System.Windows.Forms.MessageBox.Show("Hello World!");
}
}
阅读全文
posted @ 2008-12-30 14:48
拓荒者IT
阅读(463)
评论(0)
推荐(0)

浙公网安备 33010602011771号