Smobiler上海石磨_.NET移动开发平台

标题: DisplayFormat的功能 [打印本页]

作者: shixingjun1122    时间: 2020-3-3 22:37
标题: DisplayFormat的功能
DisplayFormat 可以实现类似 string.Format("我是{0},{1},你好,很高兴见到你")的功能吗

作者: Lula.Jin    时间: 2020-3-4 09:30
可以的
作者: shixingjun1122    时间: 2020-3-4 12:56
具体怎么操作
作者: shixingjun1122    时间: 2020-3-4 12:58
string.Format("我是{0},{1},你好,很高兴见到你","小明","小红"),小明,和,小红 分别写在哪里




欢迎光临 Smobiler上海石磨_.NET移动开发平台 (https://www.smobiler.com/) Powered by Discuz! X3.2