此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
备注
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
更新:2007 年 11 月
“class1”: 无法从密封类型“class2”派生
sealed 类不能用作 base 类。默认情况下,结构被密封。
下面的示例生成 CS0509:
// CS0509.cs // compile with: /target:library sealed public class clx {} public class cly : clx {} // CS0509