代码拉取完成,页面将自动刷新
同步操作将从 kangyu1122/获取国家统计局五级行政区域 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GetCityApp
{
internal class Cursor
{
const int origRow = 3;
const int origCol = 0;
public static void WriteAt(string s, int c, int r)
{
Console.SetCursorPosition(origCol + c, origRow + r);
Console.Write(s);
}
}
//乡镇信息结构 编码、名称、超链
struct TownInfo
{
string code;
public string Code { get { return code; } }
string name;
public string Name { get { return name; } }
string href;
public string Href { get { return href; } }
public TownInfo(string code, string name, string href)
{
this.code = code;
this.name = name;
this.href = href;
}
}
//村信息结构 编码、城乡划分类,名称
struct VillageInfo
{
string code;
public string Code { get { return code; } }
string cls;
public string Cls { get { return cls; } }
string name;
public string Name { get { return name; } }
public VillageInfo(string code, string cls, string name)
{
this.code = code;
this.cls = cls;
this.name = name;
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。