a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
323 B
C#
14 lines
323 B
C#
// CS1061: Type `T' does not contain a definition for `Name' and no extension method `Name' of type `T' could be found. Are you missing an assembly reference?
|
|
// Line: 11
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class C<T, U>
|
|
{
|
|
public C (IEnumerable<T> t)
|
|
{
|
|
new List<T>(t).ConvertAll(p => p.Name);
|
|
}
|
|
}
|