ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How do you declare a method on a base class so that it can be overridden in the derived class?

user-image
تم إضافة السؤال من قبل Prospero Sevilla , IT Generalist , Abu Zaid & El Essawi Group
تاريخ النشر: 2014/07/26
Mohammad Nasser Eddin
من قبل Mohammad Nasser Eddin , Senior Developer , Minerets

in VB.NET wou should put before the method name "Overridable" to declare that this method can be overrided in sub classes, and in sub class if you want to override that method add "Overrides" before its name and it will be overrided, on the other hand, the C# deals like this too

syed bilal
من قبل syed bilal , LucidLane

make is virtual. google inheritence and abstract classes for it

self exploring isthe best way of learning

المزيد من الأسئلة المماثلة