interface ISample
{
int fncAdd();
}
class ibaseclass
{
public int intF = 0, intS = 0;
int Add()
{
return intF + intS;
}
}
class iChild : ibaseclass, ISample
{
int fncAdd()
{
int intTot = 0;
ibaseclass obj = new ibaseclass();
intTot = obj.intF;
return intTot;
}
}
I want to call ISample
in static void Main(string[] args)
but I dont know how to do that. Could you please tell me how?