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

📄 busline.cs

📁 城市公交路线查询
💻 CS
字号:
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.Collections;

namespace BYBUS
{
    class BusLine
    {
        private string lineName;
        public string payWay;
        // public string X_FB_C;
        public List<string> FStations;
        public List<string> BStations;

        public BusLine()
        {

            FStations = new List<string>();
            BStations = new List<string>();

        }

        public string LineName
        {
            set
            {
                lineName = value;
            }
            get
            {
                return lineName;
            }
        }
        public string PayWay
        {
            set
            {
                payWay = value;
            }
            get
            {
                return payWay;
            }
        }
        public int FStationCount
        {
            get
            { return this.FStations.Count; }
        }
        public int BStationCount
        {
            get
            {
                return this.BStations.Count;
            }
        }

    }

    
  
}

⌨️ 快捷键说明

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