public static void Save(string fileName, Feed feed) { Save(File.OpenWrite(fileName), feed); }
public static void Save(Stream stream, Feed feed) { XmlSerializer serializer = new XmlSerializer(typeof(Feed)); serializer.Serialize(stream, feed); }