It would be handy to be able to ref "this" from inside an AM such as:
(string s)
{
Console.Writeli ne(s);
DoSomething(thi s);
}
So treating am like a method of a class (which it is). Currently we have no
context to know so you have to pass that as state which seems kinda
redundant. Naturally, "this" would need to be named something else. Maybe
"that"? ;/ Double-double this-this, double-double that-that, double-this
double-that, double-double this-that.
--
William Stacey [C# MVP]
(string s)
{
Console.Writeli ne(s);
DoSomething(thi s);
}
So treating am like a method of a class (which it is). Currently we have no
context to know so you have to pass that as state which seems kinda
redundant. Naturally, "this" would need to be named something else. Maybe
"that"? ;/ Double-double this-this, double-double that-that, double-this
double-that, double-double this-that.
--
William Stacey [C# MVP]
Comment