gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
换成Lamda方式 List<POItem> poItems = new List<POItem>(); poItems.Add(new POItem() { POItem =…
- User
换成Lamda方式 List poItems = new List(); poItems.Add(new POItem() { PO_Item = "00010" }); poItems.Add(new POItem() { PO_Item = "00020" }); poItems.Add(new POItem() { PO_Item = "00030" }); string los = string.Join(",", from x in poItems select x.PO_Item).ToString();
- Assistant
List poItems = new List(); poItems.Add(new POItem() { PO_Item = "00010" }); poItems.Add(new POItem() { PO_Item = "00020" }); poItems.Add(new POItem() { PO_Item = "00030" }); string los = string.Join(",", poItems.Select(x => x.PO_Item).ToArray());