Menu

#2 bad show lifetime statistics

open
Lucas
Website (1)
5
2008-07-21
2008-07-21
Anonymous
No

When is open lifetime.xml website try to deserialize with:

XmlSerializer s = new XmlSerializer(typeof(Report));
TextReader r = new StreamReader(filepath);
report = (Report)s.Deserialize(r);

but would be:

XmlSerializer s = new XmlSerializer(typeof(Lifetime));
TextReader r = new StreamReader(filepath);
lifetime = (Lifetime)s.Deserialize(r);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.