// 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 " +
                                 "to the product manager.";

            reply = String.Empty;
            switch (input)
            {
            case TypeOfFeedback.Complaint:
            case TypeOfFeedback.Praise:
                action      = Actions.ForwardToManagement;
                reply       = "Thank you. " + replyText;
                returnReply = true;
                break;

            case TypeOfFeedback.Suggestion:
                action      = Actions.ForwardToDeveloper;
                reply       = replyText;
                returnReply = true;
                break;

            case TypeOfFeedback.Incomprehensible:
            default:
                action      = Actions.Discard;
                returnReply = false;
                break;
            }
            return(returnReply);
        }
        public static ReplyData ReplyInformation(TypeOfFeedback input)
        {
            ReplyData answer;
             string replyText = "Your feedback has been forwarded " +
            "to the product manager.";

             switch (input)
             {
            case TypeOfFeedback.Complaint:
            case TypeOfFeedback.Praise :
               answer = new ReplyData(
                  Actions.ForwardToManagement,
                  "Thank you. " + replyText,
                  true);
               break;
            case TypeOfFeedback.Suggestion:
               answer =  new ReplyData(
                  Actions.ForwardToDeveloper,
                  replyText,
                  true);
               break;
            case TypeOfFeedback.Incomprehensible:
            default:
               answer = new ReplyData();
               break;
             }
             return answer;
        }
        public static ReplyData ReplyInformation(TypeOfFeedback input)
        {
            ReplyData answer;
            string    replyText = "Your feedback has been forwarded " +
                                  "to the product manager.";

            switch (input)
            {
            case TypeOfFeedback.Complaint:
            case TypeOfFeedback.Praise:
                answer = new ReplyData(
                    Actions.ForwardToManagement,
                    "Thank you. " + replyText,
                    true);
                break;

            case TypeOfFeedback.Suggestion:
                answer = new ReplyData(
                    Actions.ForwardToDeveloper,
                    replyText,
                    true);
                break;

            case TypeOfFeedback.Incomprehensible:
            default:
                answer = new ReplyData();
                break;
            }
            return(answer);
        }
        // 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 " +
                            "to the product manager.";

             reply = String.Empty;
             switch (input)
             {
            case TypeOfFeedback.Complaint:
            case TypeOfFeedback.Praise :
               action = Actions.ForwardToManagement;
               reply = "Thank you. " + replyText;
               returnReply = true;
               break;
            case TypeOfFeedback.Suggestion:
               action = Actions.ForwardToDeveloper;
               reply = replyText;
               returnReply = true;
               break;
            case TypeOfFeedback.Incomprehensible:
            default:
               action = Actions.Discard;
               returnReply = false;
               break;
             }
             return returnReply;
        }