1.添加引用
using System.Text;
2.定义类型
StringBuilder sectionList = new System.Text.StringBuilder();
3.写入内容
sectionList.Append("[{\"value\":\"100001\",\"id\":\"100001\",\"text\":\"京津冀\"}]");
4.返回
return sectionList.ToString();
1.添加引用
using System.Text;
2.定义类型
StringBuilder sectionList = new System.Text.StringBuilder();
3.写入内容
sectionList.Append("[{\"value\":\"100001\",\"id\":\"100001\",\"text\":\"京津冀\"}]");
4.返回
return sectionList.ToString();