إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
'member' : new protected member declared in sealed class
A sealed class cannot introduce a protected member because no other class will be able to inherit from the sealed class and use the protected member.
The following sample generates CS0628:
// CS0628.cs
// compile with: /W:4
sealed class C
{
protected int i; // CS0628
}
class MyClass
{
public static void Main()
{
}
}
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.