1. Func<stringbool> filter = delegate (string s) {    return s.Length == 5;};    
  2. Func<stringstring> extract = delegate (string s) {    return s; };    
  3. Func<stringstring> project = delegate (string s) {    return s.ToUpper(); };    
  4. IEnumerable<string> query = names.Where(filter).OrderBy(extract).Select(project);   

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2022-02-04
  • 2021-12-05
  • 2021-07-18
  • 2021-09-18
  • 2022-02-06
  • 2022-12-23
相关资源
相似解决方案