Hello, athletes and champions ! ))
Please tell me - what's wrong here -
public class LinkedSet<T> : ISet<T>
{
public LinkedListElement<T> Root;
public LinkedListElement<T> Focus;
public class LinkedListElement[B][U]<T>[/U][/B]
{
public LinkedListElement(T value)
{
this.Value = value;
}
public T Value;
public LinkedListElement<T> NextElement;
public LinkedListElement<T> PreviousElement;
}
}
[B]Warning 1 Type parameter 'T' has the same name as the type parameter from outer type 'MyFirstsGenerics.LinkedSet<T>'[/B]
thank you for your answers)