Doesn't implement interface?Doesn't implement interface?
Old forum URL: forums.lhotka.net/forums/t/1426.aspx
ajj3085 posted on Monday, October 09, 2006
Hi,
I have noticed something odd..
I defined an interface, simple enough:
internal interface IContainerLineItem {
System.Collections.IEnumerable Items { get; }
}
My class already had something like this:
public class MyLineItem : IContainerLineItem {
public MySubItems Items { get { return items; } }
}
MySubItems inherits from BLB, which down the chain, does implement that interface.
Yet the code above won't compile. Can someone explain to me why?
Thanks
Andy
Copyright (c) Marimer LLC