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
Is it possible to add special keyword to return this class type? We need if we use inherited class.
public class A
{
public this Method1 ()
{
// do something
return this;
}
}
public class B : A
{
public B Method2 () {}
}
var b = new B ();
b.Method1().Method2();
The text was updated successfully, but these errors were encountered:
Is it possible to add special keyword to return this class type? We need if we use inherited class.
The text was updated successfully, but these errors were encountered: