I have a base class kaysonsSPdetails. which is internal and DemoDVD which is public and inherits SPdatabase.
internal class kaysonsSPdetails
{
/// <summary>
/// This method is used to connect to databse is returns an open connection
/// </summary>
private System.Data.DataSet connecttodabase()
{
throw new System.NotImplementedException();
}
}
public class DemoDvd : global::kaysonsSPdetails
{
}
I am getting the following error
Inconsistent accessibility: base class 'kaysonsSPdetails' is less accessible than class 'DemoDvd' D:\arsheena\App_Code\DemoDvd.cs 7
I when i make kaysonsSPdetails public it is working fine but accessible to all. I donot want to make it accessible to all how to i do it.