摘要: ·Automatic Properties(自动属性)·Object Initializers(对象初始化器)·Collection Initializers(集合初始化器)·Extension Methods(扩展方法)·LambdaExpressions(Lambda表达式)·QuerySyntax(查询语法)·AnonymousTypes(匿名类型)/Feature.rar 阅读全文
posted @ 2007-11-12 16:30 RobotTech 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Feature.js: // 创建一个math类window.math = function() {/// 数学函数类} window.math.prototype ={ // 为math类创建一个max方法 max: function(x, y) { /// 返回两个整数中的最大的一个 /// 需要比较的第一个整数 /// 需要比较的第二个整数 ... 阅读全文
posted @ 2007-11-12 15:51 RobotTech 阅读(809) 评论(0) 推荐(0) 编辑