Extension Methods

suggest change

Syntax

Remarks

Extensions are resolved statically. This means that the extension method to be used is determined by the reference-type of the variable you are accessing; it doesn’t matter what the variable’s type is at runtime, the same extension method will always be called. This is because declaring an extension method doesn’t actually add a member to the receiver type.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents