I have in my c# application a new web service that I generated using Add Web Reference tool.
It is called ExchangeWebServices in my Solution Explorer.
But when I try to add the sample code that I found on StackOverflow: 652549: read-ms-exchange-email-in-c-sharp it won't compile.
I have a compile error message that
ExchangeWebServices is a namespace but is used as a type.
here is the line of code that I am trying to use.
ExchangeWebServices service =new ExchangeWebServices(ExchangeVersion.Exchange2013_SP3);
I have at the top of my form class this:
using email2case_winForm.ExchangeWebServices;
what am I doing wrong here please?