
C#
文章平均质量分 79
ilovewebservice
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
xml文件的建立、修改、删除与查找
早几天做了一个用xml文件存储友情链接的程序,xml文件内容如下:1华中科技大学东莞研究院 http://www.dghust.com2e-works http://www.e-works.net.cn3新浪原创 2010-11-05 14:01:00 · 1270 阅读 · 0 评论 -
事件示例代码
<br />using System;<br />using System.Collections.Generic;<br />using System.Text;<br />namespace Event<br />{<br /> public class PubEventArgs : EventArgs<br /> {<br /> private readonly string m_magazineName;<br /> private readonly Date原创 2011-03-28 14:57:00 · 469 阅读 · 0 评论 -
索引器使用示例
using System;using System.Collections.Generic;using System.Text;using System.Collections;using System.Threading;namespace Index{ class CourseScore { private string name; private int courseID; private int score; public Cour原创 2011-03-29 09:03:00 · 583 阅读 · 0 评论 -
C# 2.0 新特性
分部类型、泛型、可空值类型、轻量级事务管理器和角色提供程序。原创 2011-03-29 11:23:00 · 1588 阅读 · 0 评论 -
C# 3.0新功能
<br />C# 3.0新功能<br />• 隐式类型的本地变量和数组<br />• 对象初始值设定项<br />• 集合初始值设定项<br />• 自动实现的属性<br />• 匿名类型<br />• 扩展方法<br />• 分部方法定义<br />• Lambda 表达式<br />隐式类型的数组<br />var a = new[] { 1, 10, 100, 1000 }; // int[]<br />var b = new[] { "hello", null, " world" }; string原创 2011-03-29 11:46:00 · 626 阅读 · 0 评论 -
linq to xml 实战
以前用xml 写程序一直用传统的方法,这几天做一个程序决定用linq to xml ,通过实战,把linq to xml各种用法已经搞得比较熟了,下面介绍一下: 比如要生成象下面那样的xml文件: 1 ibm专区云标签 200 300 tagcloud1.xml 2 CAD专题原创 2013-03-07 10:56:53 · 774 阅读 · 0 评论