I have Delegate
a
:
public delegate void doLog( String value , RichTextBox lger ) ;
public void doLg(String value, RichTextBox lger)
{
lger.AppendText(value);
}
doLog a = new doLog(doLg);
I use this delegate in my Invoke
call:
_textBox.Invoke(a, new Object[] { "aaaa", _textBox });
How to make all this simpler with lambda expression?