c#
l_list .Select (p=>p.ID = "001");
int l_sum = l_list.Where (a=>a.Price >20).Sum(p => p.Price);
VB
l_list.Select(Function(p) p.ID = "001" )
Dim l_sum As Integer = l_list.Where (Function(a) a.Price >20).Sum(Function(p) p.Price)
c#
l_list .Select (p=>p.ID = "001");
int l_sum = l_list.Where (a=>a.Price >20).Sum(p => p.Price);
VB
l_list.Select(Function(p) p.ID = "001" )
Dim l_sum As Integer = l_list.Where (Function(a) a.Price >20).Sum(Function(p) p.Price)
請先 登入 以發表留言。