⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 topicinfo.cs

📁 ASP开发网站的 关于网站的设计和说明 还有SQL的程序 数据库
💻 CS
字号:
namespace ASPNET.StarterKit.Communities {

    using System;


    //*********************************************************************
    //
    // TopicInfo Class
    //
    // Represents all information about a particular topic. 
    //
    //*********************************************************************

    public class TopicInfo {
    
        int _id = -1;
        string _name = String.Empty;
        string _image = String.Empty;
        string _description = String.Empty;


        //*********************************************************************
        //
        // ID Property
        //
        // Represents the ID of a topic.
        //
        //*********************************************************************
        
        public int ID {
            get {return _id;}
            set {_id=value;}
        }


        //*********************************************************************
        //
        // ID Property
        //
        // Represents the ID of a topic.
        //
        //*********************************************************************
                
        public string Name {
            get {return _name;}
            set {_name = value;}
        }


        //*********************************************************************
        //
        // Description Property
        //
        // Represents the description of a topic.
        //
        //*********************************************************************
        
        public string Description {
            get {return _description;}
            set {_description = value;}
        }


        //*********************************************************************
        //
        // Image Property
        //
        // Represents the name of an image associated with the topic.
        //
        //*********************************************************************
                
        public string Image {
            get {return _image;}
            set {_image = value;}
        }


        //*********************************************************************
        //
        // TopicInfo Constructor
        //
        // Initializes TopicInfo. 
        //
        //*********************************************************************

        public TopicInfo() {}
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -