Napomena
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Cannot do member lookup in 'type' because it is a type parameter
An inner type cannot be specified through a type parameter. Try using the desired type explicitly.
The following sample generates CS0704:
// CS0704.cs
class B
{
public class I { }
}
class C<T> where T : B
{
T.I f; // CS0704 – member lookup on type parameter
// Try this instead:
// B.I f;
}
class CMain
{
public static void Main() {}
}
Povratne informacije za .NET
.NET je projekat otvorenog koda. Izaberite vezu da biste pružili povratne informacije: