help thank you
Posted: Mon May 09, 2022 7:06 am
help thank you
10. Provide LINQ solutions in the methods below for filtering a collection of Test models. Assume the collection is stored in a variable named "tests" that is in scope to the two methods. (15 pts) public class Test { public string Name { get; set; } public int Age { get; set; } } // Return a test object found in the tests collection with the specified name. 1/ If none is found, return null public Test SearchBylone(string Nons) 2 // Return the IEnumerable<Test> for all test abjects with an Age older than // the specified value public IEnumerablecTest FindOlder Test(int Age) {
10. Provide LINQ solutions in the methods below for filtering a collection of Test models. Assume the collection is stored in a variable named "tests" that is in scope to the two methods. (15 pts) public class Test { public string Name { get; set; } public int Age { get; set; } } // Return a test object found in the tests collection with the specified name. 1/ If none is found, return null public Test SearchBylone(string Nons) 2 // Return the IEnumerable<Test> for all test abjects with an Age older than // the specified value public IEnumerablecTest FindOlder Test(int Age) {