{
public RssFeed() { }
public RssFeed(string displayName, string url,string description,int clicks)
{
this.displayName = displayName;
this.url = url;
this.description = description;
this.clicks = clicks;
}
///
/// 频道名称
///
private string displayName;
public string DisplayName
{
get { return displayName; }
set { displayName = value; }
}
///
/// 链接地址
///
private string url;
public string Url
{
get { return url; }
set { url = value; }
}
///
/// 描述
///
private string description;
public string Description
{
get { return description; }
set { description = value; }
}
///
/// 点击次数
///
private int clicks;
public int Clicks
{
get { return clicks; }
set { clicks = value; }
}
///
/// 文章列表
///
private Article[] articles;
public Article[] Articles
{
get { return articles; }
}
public static void()
{
base(); //注意这里 能这样写吗?不能这样写的话,该怎么调用类的构造函数???、
}
}
在此谢过了!!