We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Ein Delegat kann eine statische Methode oder eine Instanzmethode darstellen.
A delegate can represent a static method or an instance method.
Die Instanzmethode wurde in der Basisklasse nicht mit dem Schlüsselwort final deklariert.
The instance method is not declared with the final keyword in the base class.
Das sieht recht vertraut aus, beachten Sie aber, dass der Einstiegspunkt tatsächlich eine Instanzmethode darstellt.
This looks pretty familiar, but notice that the entry point is actually an instance method.
Dadurch, dass der Einstiegspunkt in Main eine Instanzmethode darstellt, können Dienste von der Laufzeitumgebung in die Anwendung eingeführt werden.
By having the main entry point be an instance method, you can have services injected into your application by the runtime environment.
Die Instanzmethode hat auch dann Vorrang, wenn die Erweiterungsmethode eine bessere Übereinstimmung aufweist.
The instance method has precedence even if the extension method is a better match.
Eine Instanzmethode eines Typs, mit dem ausgeblendeten this-Parameter, der in der formalen Parameterliste verfügbar gemacht wird.
An instance method of a type, with the hidden this parameter exposed in the formal parameter list.
Wurde das Schlüsselwort final mit einer Instanzmethode verwendet, möchte der Programmierer verhindern, dass die Methode von Unterklassen überschrieben wird.
When used with an instance method, the final keyword indicates the programmer's intent to prevent subclasses from overriding the method.
Im folgenden Beispiel wird veranschaulicht, wie der Compiler bestimmt, mit welcher Erweiterungsmethode oder Instanzmethode die Bindung erfolgen soll.
The following example demonstrates how the compiler determines which extension method or instance method to bind to.
Das Berechnen des Salted Hash ist eine Instanzmethode, die auf zwei Membervariablen zugreift, die im Konstruktor gesetzt werden
Computation of the salted hash is an instance method accessing two member variables which are set in the constructor
Wenn eine Erweiterungsmethode jedoch über denselben Namen wie eine Instanzmethode verfügt, die Signaturen aber keine Konflikte verursachen, kann auf beide Methoden zugegriffen werden.
However, when an extension method has the same name as an instance method but the signatures do not conflict, both methods can be accessed.
Warum gibt der C -Compiler keinen Code aus, bei dem eine statische Methode eine Instanzmethode aufruft?
Why does the C# compiler not fault code where a static method calls an instance method?
Eine Instanzmethode ist eine Methode, die eine Instanz einer Klasse zugeordnet ist. eine statische Methode ist eine Methode, die die Klasse selbst zugeordnet ist.
An instance method is a method that is associated with an instance of a class; a static method is a method that is associated with the class itself.
Das folgende Beispiel veranschaulicht die Regeln, denen der C#-Compiler folgt, um zu bestimmen, ob ein Methodenaufruf an eine Instanzmethode für den Typ oder an eine Erweiterungsmethode gebunden werden soll.
The following example demonstrates the rules that the C# compiler follows in determining whether to bind a method call to an instance method on the type, or to an extension method.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.