[FxCop.设计规则]6. 避免使用输出参数[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 cajon 的 blog

      public override string tostring()
      {
         return string.format("reply: {0} action: {1} return? {2}", 
            reply, action.tostring(), returnreply.tostring());
      }
   }

 

   public class redesignedrefandout
   {
      public static replydata replyinformation (typeoffeedback input)
      {
         replydata answer;
         string replytext = "your feedback has been forwarded " + 
            "to the product manager.";

 

本文关键:[FxCop.设计规则]6. 避免使用输出参数
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top