2015年2月3日

C#中的Params、ref、out的区别

摘要: C# Params paramsparams 关键字可以指定在参数数目可变处采用参数的方法参数。在方法声明中的 params 关键字之后不允许任何其他参数,并且在方法声明中只允许一个 params 关键字。 示例:字面意思比较难懂,所以看示例很有用。//keywords_params.csusi... 阅读全文

posted @ 2015-02-03 14:16 itjeff 阅读(307) 评论(0) 推荐(0)

C#记录日志、获取枚举值 等通用函数列表

摘要: usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Linq;namespaceSystem.Web.Mvc{#region通用函数///... 阅读全文

posted @ 2015-02-03 13:41 itjeff 阅读(530) 评论(0) 推荐(0)

导航