I've been playing around with events and delegates and need to raise my event asynchronously, thus I've been using:
public event EventHandler OnHelloEvent;
public void Raise()
{
IAsyncResult syncResult = OnHelloEvent.BeginInvoke(this, new EventArgs(), null, null)
In Intellisense, the last null
is stated to be object @object
. I haven't come across this before and can't seem to find any documentation for it.
What does this mean? Is it useful?
@if
is a legal identifier butif
is not because it is a keyword."