Home > Net >  I am always wrong in VS2019 dynamic scheduling
I am always wrong in VS2019 dynamic scheduling

Time:09-24


CodePudding user response:

CodePudding user response:

To give the building Lord holds a field,,,

CodePudding user response:

Your class, can try orderby list

CodePudding user response:

 
Var newList=ObjStu. OrderBy (d=& gt; D.N ame). ToList ();
The foreach (var item in newList)
{
//to do
}

CodePudding user response:

The introduction of the
 using System. Linq; 

https://www.tutorialsteacher.com/linq/linq-sorting-operators-orderby-orderbydescending

CodePudding user response:

I feel that your StuNameAsc ICompare interface?
  •  Tags:  
  • C#
  • Related