T
Tony
Hello!
According to the documentation we have the following
interface IList : ICollection, IEnumerable
{
I can understand all the methods in this IList
}
interface ICollection : IEnumerable
{
Here in this interface ICollection we have a meny methods. One is called:
GetEnumerator()
}
interface IEnumerable
{
GetEnumerator()
}
Now to my question when a base class implements IList there is two methods
called GetEnumerator
from two different interface that must be implemented explicitly.
I just want to check if I have understood this correctly?
//Tony
According to the documentation we have the following
interface IList : ICollection, IEnumerable
{
I can understand all the methods in this IList
}
interface ICollection : IEnumerable
{
Here in this interface ICollection we have a meny methods. One is called:
GetEnumerator()
}
interface IEnumerable
{
GetEnumerator()
}
Now to my question when a base class implements IList there is two methods
called GetEnumerator
from two different interface that must be implemented explicitly.
I just want to check if I have understood this correctly?
//Tony