diff --git a/.vs/LinqActivity/FileContentIndex/1abab274-4a7d-4389-b378-30b3c268caa7.vsidx b/.vs/LinqActivity/FileContentIndex/41c843d9-3424-40ec-a652-e25e92aa20d1.vsidx similarity index 81% rename from .vs/LinqActivity/FileContentIndex/1abab274-4a7d-4389-b378-30b3c268caa7.vsidx rename to .vs/LinqActivity/FileContentIndex/41c843d9-3424-40ec-a652-e25e92aa20d1.vsidx index 43f17a1..463b743 100644 Binary files a/.vs/LinqActivity/FileContentIndex/1abab274-4a7d-4389-b378-30b3c268caa7.vsidx and b/.vs/LinqActivity/FileContentIndex/41c843d9-3424-40ec-a652-e25e92aa20d1.vsidx differ diff --git a/LinqActivity/Program.cs b/LinqActivity/Program.cs index 4200094..d47f26e 100644 --- a/LinqActivity/Program.cs +++ b/LinqActivity/Program.cs @@ -94,48 +94,56 @@ namespace LinqActivity } } + //1.) Write a LINQ query that returns all patients over the age of 30 in the "Patients" list public static List AllPatientsOver30(List patients) { return null; } + //2.) Write a LINQ query that takes the patients in the Patients list, and returns a string of their names separated by a comma public static string AllPatientNames(List patients) { return null; } - + + //3.) Write a LINQ query that returns the average weight of all patients in the Patients list public static decimal AverageWeightOfAllPatients(List patients) { return 0; } + //4.) Write a LINQ query that orders the list of patients in the Patients list by DateCreated and returns the most recent public static Patient MostRecentPatientCreated(List patients) { return null; } + //5.) Write a LINQ Query that concatenates the two lists of patients together public static List ConcatPatientLists(List patients, List transferPatients) { return null; } + //6.)Given the last of transferParentNames below, write a LINQ Query within DistinctTransferPatients that returns a list of distinct names public static List DistinctTransferPatients(List transferPatientNames) { return null; } + //7.) Write a LINQ Query that checks if the list of patients contains ANY patients with the name "Joe" public static bool ContainsJoe(List patients) { return false; } + //8.) Write a LINQ Query that TAKEs the first 3 patients in the patient list public static List First3Patients(List patients) {