[Mono-list] XML problem - please help, this is driving me nuts!

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Jun 1 01:54:01 EDT 2010


On Mon, May 31, 2010 at 6:01 PM, Paul <paul at all-the-johnsons.co.uk> wrote:
> Hi,
>
> Not sure where I'm messing up here. I'm trying to deserialize some XML.
> It's a bog standard deserializer bit of code...
>
> FormData f; // explained below
> f = null;
> try
> {
>        string path_env = Path.GetDirectoryName(Application.ExecutablePath) +
> Path.DirectorySeparatorChar;
>        XmlSerializer s = new XmlSerializer(typeof(FormData));

Shouldn't this be typeof (FormList)?

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list