编译报错:重载“X”方法未获取“0”参数 public Y(int i) { a = i; } ====>public Y(int i):base(i) { a = i; } 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to : saucerwhy ? public Y(int i) { a = i; } ====>public Y(int i):base(i) { a = i; } is right , but I don't know why to inherits if you do public Y(int i)alone, it is same aspublic Y(int i) : base()but your super class doesn't have a constructor which takes no parameter! nhibernate 配置问题 计数器 部署在iis上的.net网站,本机可以浏览查看,别人却看不了!为什么 AspNetPager怎么实现DataList分页 (求助)在DateGrid的linkbutton提取自己当前行值? ASP.NET2.0 的异步调用问题,高手帮忙啊,高分相送!!!!! Ajax怎样获取某行某列的内容? 50分求解答ASP。NET调试问题。不回答的没分 关于刷新后,如何不让缓存中的命令再执行一遍`? 数据库连接问题? 一个简单的存储过程问题,快救救我吧,我快疯了!!! DataGrid的删除问题,在线恭候各位。
why ?
====>
public Y(int i):base(i) { a = i; } is right , but I don't know why to inherits
public Y(int i)alone, it is same as
public Y(int i) : base()but your super class doesn't have a constructor which takes no parameter!