
本站地址:http://www.bajiao123.com

[FxCop.设计规则]6. 避免使用输出参数
// Redesigned version does not use out or ref parameters; // instead, it returns this container type.
public class ReplyData { string reply; Actions action; bool returnReply; // Constructors. public ReplyData() { this.reply = String.Empty; this.action = Actions.Discard; this.returnReply = false; }
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
本站地址:http://www.bajiao123.com

