class wk:IDisplath
{
}
interface IDisplath
{}
{
}
interface IDisplath
{}
解决方案 »
- 众位大哥大姐救命啊!C# TCP/IP问题,先谢谢啦!
- 请教一个关于radiobutton 的API
- winform 实现类似我们VS工具工具箱那样 对控件分组。
- 如何实现限制一个函数的执行时间?也就是设定一个强制停止函数运行的时间。
- 用c#开发网页客户端,能否做到用winform的某些功能
- 中间层用哪种技术合适?
- 卖出去一套软件都要有一个唯一的序列号:xxxx-xxxx-xxxx-xxxx。如何产生和使用这样的序列号,是在自己的程序中用与产生该序列号相同的程
- Web软件开发 -- 哪个公司有兴趣,请和我联系
- sqlite 绿色部署的问题
- 將Windows Forms轉成WPF
- 关于线程的问题,急,在线等。。。。?
- 关于 Dock 属性的问题,差点气死我
{
}
interface id
{}
{
}
interface Id
{}
void Print();
}class A : IPrint {
public void Print() {
System.Console.WriteLine("A");
}
}class B : IPrint {
public void Print() {
System.Console.WriteLine("B");
}
}class AppMain {
public static void Print(IPrint obj) {
obj.Print();
}
public static void Main() {
Print(new A()); // display A
Print(new B()); // display B
}
}
public interface iclsPerson
{
string FirstName(get;set);
string LastName(get;set);
string FullName();
}
总是提示:Identifier Expected,不知道为什么?
string FirstName { get; set; }
string LastName { get; set; }
string FullName();
}