There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Create Example, CSLinqToObject
This example is created to illustrate how to write Linq to Object queries using CSharp. First, it creats an type named StudentInfo. This type inculdes ID, Name, MathScore property. Then it build a list of StudentInfo which will be used as the datasource.
In the sample, you will see the basic Linq operation like select, update, orderby, max, average...