devo aggiungere anche:

using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;