How do I create a C# interface for T where T extends IComparable<T> and the interface extends IEnumerable<T>
What is the C# equivalent to the following java construct: interface LinkedList<T extends Comparable<T>> extends Iterable<T> I cannot do this the following way in C# because it is assumed that IEnumerable<T>belongs to the the where constraint: interface LinkedList<T> where T : IComparable<T>, IEnumerable <T> how can I do this in C# ? >Solution : I… Read More How do I create a C# interface for T where T extends IComparable<T> and the interface extends IEnumerable<T>