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

[FxCop.设计规则]6. 避免使用输出参数
namespace DesignLibrary{ public enum Actions { Unknown, Discard, ForwardToManagement, ForwardToDeveloper }
public enum TypeOfFeedback { Complaint, Praise, Suggestion, Incomprehensible }
public class BadRefAndOut { // Violates rule: DoNotPassTypesByReference.
public static bool ReplyInformation (TypeOfFeedback input, out string reply, ref Actions action) { bool returnReply = false; string replyText = "Your feedback has been forwarded " +
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
本站地址:http://www.bajiao123.com

