using System.Collections.Generic;
public sealed class LoLQueue<T> where T: class
{
private SingleLinkNode<T> mHe;
private SingleLinkNode<T> mTa;
public LoLQueue()
{
this.mHe = new SingleLinkNode<T>();
this.mTa = this.mHe;
}
}
오류 :비 제네릭 형식 'System.Collections.IEnumerable은'형태 인수를 사용할 수 없습니다
The non-generic type 'LoLQueue<T>.SingleLinkNode' cannot be used with type arguments
내가이 이유는 무엇입니까?
SingleLinkNode의 정의는 무엇입니까? –