上一页 1 ··· 16 17 18 19 20
摘要: 如果在为方法声明参数时未使用 ref 或 out,则该参数可以具有关联的值。可以在方法中更改该值,但当控制传递回调用过程时,不会保留更改的值。通过使用方法参数关键字,可以更改这种行为。 params params 关键字可以指定在参数数目可变处采用参数的方法参数。 在方法声明中的 params 关键字之后不允许任何其他参数,并且在方法声明中只允许一个 params 关键字。 示例: ... 阅读全文
posted @ 2009-03-27 22:53 智者生存 阅读(149) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using ; namespace { public static partial class { public s... 阅读全文
posted @ 2009-03-27 22:49 智者生存 阅读(277) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using ; using ; namespace { public static partial class { public static Add( ) { 0) { ... 阅读全文
posted @ 2009-03-27 22:39 智者生存 阅读(280) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; namespace { #region /// /// This object represents the properties and methods of a . /// [Serializable()] public cla... 阅读全文
posted @ 2009-03-27 22:37 智者生存 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20