XmlSerializer throws FileNotFoundException

A very typical scenario when using the XmlSerializer is that at runtime it throws a FileNotFoundException. However, the exception is caught within the XmlSerializer class and program flow continues without any problems. It is still inconvenient because the exceptions can interfere with your debugging. Imagine the following code fragment: Person p = new¬†Person() { Name […]

Continue reading →