bro i can't even keep track anymore
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
namespace Profiles
|
||||
using System.Collections;
|
||||
|
||||
namespace Profiles
|
||||
{
|
||||
abstract class IList<T>
|
||||
abstract class IList<T> : IEnumerable<T>
|
||||
{
|
||||
protected T[] list;
|
||||
|
||||
@@ -32,5 +34,15 @@
|
||||
{
|
||||
list = new T[0];
|
||||
}
|
||||
|
||||
public IEnumerator<T> GetEnumerator()
|
||||
{
|
||||
return ((IEnumerable<T>)list).GetEnumerator();
|
||||
}
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return list.GetEnumerator();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user