Hallo,

wie kann ich eine statische Property in einem Interface deklarieren?

Bsp:

Public interface I1 {

        String Prop1 { get; }
}

Public class C1 : I1 {

        Public static string Prop1 {
                Get { ...
                }
        }
}

Gibt den Compilefehler ... Prop1 is not implemented, static or not public...
Angabe von static im Interface (also static string Prop1...)
F�hrt zu "the modifier static is not valid fort his item...")

Wie geht das? Oder geht das garnicht?

Gr��e Stephan


_______________________________________________
CSharp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/csharp.net

Antwort per Email an