user.cs

来自「这是一个C#写的QQ聊天工具,大家可以看看怎么样,发表一个意见」· CS 代码 · 共 63 行

CS
63
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace SQServer
{
    class User
    {
        private List<User> friend;
        private int uid;
        private string name;
        private int picture=0;
        private int sex=0;
        private int age;
        private string occupation;
        private string explanation;


        public List<User> Friend {
            get { return this.friend; }
            set { this.friend = value; }
        }

        public int Uid {
            get { return uid; }
            set { this.uid = value; }
        }

        public string Name
        {
            get { return name; }
            set { this.name = value; }
        }

        public int Picture
        {
            get { return picture; }
            set { this.picture = value; }
        }

        public int Sex
        {
            get { return sex; }
            set { this.sex = value; }
        }

        public int Age {
            get { return age; }
            set { this.age = value; }
        }

        public string Occupation {
            get { return occupation; }
            set { this.occupation = value; }
        }

        public string Explanation {
            get { return explanation; }
            set { this.explanation = value; }
        }
    }
}

⌨️ 快捷键说明

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