I don't have any idea about this error please how I make that work?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
The error appears because the base class does not have a default constructor. You need to define a constructor in the derived class, which gets the same parameters as the constructor in the base class, and invokes that base class constructor using the base keyword as explained here
I could not open the screenshot of CenterExamen class. The error happens becauase your base class CenterExamen does not have a default constructor. It does not mean like you need to have a default constructor in the base class. In such cases, when inheriting a class, the inherited class should instantiate the base class by passing the required parameters.