You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C# supports extension methods, which are written separately from a class but act as if they're member methods. The syntax for an extension method is to include the target class as the first parameter, along with the "this" keyword. For example:
public static bool ContainsCallTo(this XContainer container, string functionName)
In this case, container should not be a Secondary Argument. It should perhaps be the Declared Class?
The text was updated successfully, but these errors were encountered:
C# supports extension methods, which are written separately from a class but act as if they're member methods. The syntax for an extension method is to include the target class as the first parameter, along with the "this" keyword. For example:
public static bool ContainsCallTo(this XContainer container, string functionName)
In this case, container should not be a Secondary Argument. It should perhaps be the Declared Class?
The text was updated successfully, but these errors were encountered: