Wednesday, 23 January 2013

How to fix error Inconsistent accessibility: base class 'class name' is less accessible than class ' '

Inconsistent accessibility: base class 'class name' is less accessible than class ' '  

- it appears when trying to initialize abstract class





Replace
public class car : vehicle

With
class car : vehicle

No comments:

Post a Comment