Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C# by zite ( 14 years ago )
public interface IFoo
{
    int qux { get; set; }
}

public class Foo : IFoo
{
    public int qux { get; set; }
}

public abstract class ABar
{
    protected abstract IFoo ifoo;
}

public class Bar : ABar
{
    protected override Foo ifoo;
}

//ifoo type must be iFoo to match overridden member ifoo

 

Revise this Paste

Parent: 48818
Your Name: Code Language: