13 lines
224 B
C#
13 lines
224 B
C#
|
// CS0029: Cannot implicitly convert type `T[]' to `System.Collections.Generic.IList<U>'
|
||
|
// Line: 10
|
||
|
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
class Program
|
||
|
{
|
||
|
static IList<U> Foo<T, U> (T[] arg) where T : U
|
||
|
{
|
||
|
return arg;
|
||
|
}
|
||
|
}
|