2011年1月25日

字符串管理

摘要: static void Main(string[] args) { StringBuilder sb = new StringBuilder(); TextWriter tw = new StringWriter(sb); tw.WriteLine("Hello!"); ... 阅读全文

posted @ 2011-01-25 17:32 剑心老三儿 阅读(201) 评论(0) 推荐(0)

2011年1月11日

创建XML文档

摘要: XmlDocument 表示xml文档XmlNode 表示xml文档中的单个节点XmlText 表示元素或属性的文本内容XmlComment 表示xml的注释内容XmlElement 构成xml文档的最小单位,即表示单个的数据nameTom/nameXmlAttribute 属性与子元素有些重叠XmlDelclaration xml文档第一行必须使用声明?xml version="1.0"? 阅读全文

posted @ 2011-01-11 09:12 剑心老三儿 阅读(207) 评论(0) 推荐(0)

读取RSS源

摘要: protected void GetFeed_Click(object sender, EventArgs e) { if (FeedUrl.Text == "") { RssFeed.Text = "信息不能为空!"; return; } RssFeed.Text =... 阅读全文

posted @ 2011-01-11 09:08 剑心老三儿 阅读(221) 评论(0) 推荐(0)

点与圆的位置小练习

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 综合练习 { /// /// 点的构造函数 /// public struct Point { public int X; pu... 阅读全文

posted @ 2011-01-11 09:05 剑心老三儿 阅读(208) 评论(0) 推荐(0)

导航