So I am having problem with interface and abstract class. I have code here:
interface ISučelje1
{
void Metoda();
}
interface ISučelje2
{
int Metoda();
}
Now i declare abstract class with there two interface:
abstract class MojTip : ISučelje1, ISučelje2
{
public abstract void Metoda();
public abstract int Metoda(); //here i got problem
}
I don't know how to add second method I am getting error:
Type 'Program.MojTip' already defines a member called 'Metoda' with the same parameter types
Thanks in advance!