C# Developers' Journal (original) (raw)

6:16a

MissingMethodException Dear experts :),

I have recently started to learn my first steps in C#. I am already an experienced programmer, but C# is new to me.

What I've done is this:

The problem is that I get a MissingMethodException whenever the code for the form contains the line wordlist = new Wordlist();. If I put that line in the constructor of the form, I get the exception immediately when starting the program. If I put it into the method that is linked to the 'Open' menu item, I get it when I click the menu item. In both cases, however, the exception occurs in "Non-user code", according to the call stack; it does not seem to occur when the Wordlist constructor is actually called.

In case it is important, I should also mention that the application is targeting the Pocket PC platform, but I don't think this would matter.

Thanks for any help you can offer!