I have a class in my application
public class ProductInfo { public int ProductId {get;set;} public int ProductType{get;set;} }
I want to wr
var s = string.Join(",", products.Where(p => p.ProductType == someType) .Select(p => p.ProductId.ToString()));