What is the difference between:
Application.NewMail += Application_NewMail;
private void Application_NewMail()
{
// implementation
}
and
this.Application.NewMail += new Microsoft.Office.Interop.Outlook.ApplicationEvents_11_NewMailEventHandler(ThisAddIn_NewMail);
private void ThisAddIn_NewMail()
{
// implementation
}
Visual Studio suggests the first one which is automatically added if hitting tap key twice after typing += while the 2nd is always what's shown in MSDN code examples. Are there any functional differences?