a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
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;
|
|
}
|
|
}
|