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の定義を教えてください。 –