I am using a Visual Studio 2010 WebForm application to post a simple note to EverNote using the sample code for "Hello world. Here is the Code:
    private void btnSubmit_Click(object sender, EventArgs e)
    {
       ENNote myPlainNote = new ENNote();
       ENSession.SetSharedSessionDeveloperToken(
       "My Developer 
       Token","https://www.evernote.com/shard/s308/notestore");
       myPlainNote.Title = "My First Notes";
       myPlainNote.Content = ENNoteContent.NoteContentWithString("Hello 
       World!);
      ENNoteRef myPlainNoteRef = 
      ENSession.SharedSession.UploadNote(myPlainNote, null);
    }
I get "Object reference not set to an instance of an object" on the last line. I would really appreciate if someone could guide this newbie to resolve this issue.
 
    