program.cs

来自「c#开发宝典 光盘内容。本光盘主要为书中的源程序」· CS 代码 · 共 48 行

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

namespace Example7_1 {
    public class Farmer {
        private int age;
        private string name;
        private string sex;

        public string Name {
            get {
                throw new System.NotImplementedException();
            }
            set {
            }
        }

        public int Age {
            get {
                throw new System.NotImplementedException();
            }
            set {
            }
        }

        public string Sex {
            get {
                throw new System.NotImplementedException();
            }
            set {
            }
        }

        public void Walk() {
            throw new System.NotImplementedException();
        }

        public void Eat() {
            throw new System.NotImplementedException();
        }

        public void Work() {
            throw new System.NotImplementedException();
        }
    }
}

⌨️ 快捷键说明

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