📄 article.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace NewsReader
{
[Serializable]
public class Article
{
private string title;
private string url;
private int clicks;
private string description;
private string pubDate;
public string PubDate
{
get { return pubDate; }
set { pubDate = value; }
}
private string feedtype;
public string Feedtype
{
get { return feedtype; }
set { feedtype = value; }
}
public Article()
{
}
public Article(string title, string url)
{
this.url = url;
this.title = title;
throw new System.NotImplementedException();
}
/// <summary>
/// 文章标题
/// </summary>
public string Title
{
get { return title; }
set { title = value; }
}
/// <summary>
/// 网址
/// </summary>
public string Url
{
get { return url; }
set { url = value; }
}
/// <summary>
/// 描述
/// </summary>
public string Description
{
get { return description; }
set { description = value; }
}
/// <summary>
/// 点击次数
/// </summary>
public int Clicks
{
get { return clicks; }
set { clicks = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -