会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
德平Zeng
博客园
首页
新随笔
联系
订阅
管理
2021年7月17日
在 C# 中将 List<dynamic> 转换为 List<string>
摘要: var dlist = new List<dynamic>() { "Guangzhou", "Zhuhai", "Shenzhen" }; 提取集合中的所有字符串,忽略所有其他类型,可以使用:// Solution 1: Include only strings, no null values,
阅读全文
posted @ 2021-07-17 10:07 德平Zeng
阅读(2637)
评论(0)
推荐(1)
编辑
公告