📜  转换字符串 int Linq - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:49.602000             🧑  作者: Mango

代码示例1
var items = from c in contacts
            select new ListItem
            {
                Value = SqlFunctions.StringConvert((double)c.ContactId).Trim(),
                Text = c.Name
            };