Search Results

Search found 1 results on 1 pages for 'user576611'.

Page 1/1 | 1 

  • C# / Visual Studio - Object is null unless I have a Breakpoint

    - by user576611
    Hi Everyone, I'm specifically using the Google Contacts API at the moment, but this could be true of other scinarios as well. I have the following code: Contact newContact = new Contact(); When I let the code run without any breakpoints, I get a NullReferenceException on all of the properties of this object. However, if I put a breakpoint just after this line, I can see all of the properties have been initialises and the rest of my code executes fine. Any idea's would be greatly appreciated

    Read the article

1