private static AccountFeed Parse(string xml) { byte[] bytes = new UTF8Encoding().GetBytes(xml); AccountFeed feed = new AccountFeed(new Uri(AccountFeedUrl), new AnalyticsService("Test")); feed.Parse(new MemoryStream(bytes), AlternativeFormat.Atom); return feed; }