Пример #1
0
    public static MsnbcChannel LoadChannel(string url)
    {
        MsnbcChannel channel;

        channel = new MsnbcChannel();
        channel.LoadFromUrl(url);
        return(channel);
    }
Пример #2
0
    public static MsnbcChannel LoadChannel()
    {
        MsnbcChannel channel;

        channel = new MsnbcChannel();
        channel.LoadFromUrl("http://rss.msnbc.msn.com/id/3032091/device/rss/rss.xml");
        return(channel);
    }