zoukankan      html  css  js  c++  java
  • 编程有时候我们需要给方法返回一个值 但由于需要返来多个 所有 可以定义一个类

    using System;
    using System.Collections.Generic;
    using System.Text;
    
    namespace APlusEmail.Model
    {
        public class EmailSendFeedBack
        {
            private bool isSuccess;
    
            public bool IsSuccess
            {
                get { return isSuccess; }
                set { isSuccess = value; }
            }
            private string info;
    
            public string Info
            {
                get { return info; }
                set { info = value; }
            }
        }
    }
  • 相关阅读:
    3-8
    3-7
    3-5
    3-4
    3-3
    3-2
    3-1
    2-11
    2-10
    2-9
  • 原文地址:https://www.cnblogs.com/maijin/p/2823655.html
Copyright © 2011-2022 走看看