-
- public static void Main(string[] args)
- {
- List<User> userCollection = new List<User>();
- User resultUser = userCollection.Find(
- delegate(User user)
- {
- return user.UserID == 1 && user.UserName.Equals("testOne");
- });
- }
C# 集合委托查找子元素
最新推荐文章于 2022-03-14 10:36:03 发布