From 313504f69006adacb7df43c548267849904c8aee Mon Sep 17 00:00:00 2001 From: Nathan Light Date: Thu, 22 Feb 2024 18:29:51 -0500 Subject: [PATCH] Adding comments above each function --- ...1c843d9-3424-40ec-a652-e25e92aa20d1.vsidx} | Bin 12394 -> 12394 bytes LinqActivity/Program.cs | 10 +++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) rename .vs/LinqActivity/FileContentIndex/{1abab274-4a7d-4389-b378-30b3c268caa7.vsidx => 41c843d9-3424-40ec-a652-e25e92aa20d1.vsidx} (81%) 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 43f17a1a0c297bafdd7ff7adaa06e047b55fd7b8..463b743b661b780d14bc0cecaa6190b974e54bc4 100644 GIT binary patch delta 1280 zcmZ9MKWLLt6vgk&-_k)M3enoaM*{t0#i~@OP$6i94vHcO9WyvtQ0(H?CeX<#;SHit z(JW44L2zp6+ReqGrD&~-Pz47E9ct?DJC8aDACLF$JNMjk&wa^WW3SO(&M)7cvag-) zSZUVH&D^b`Z@jZz_k)o5(6P1x4YzY{iCf049d7xV$$m22Ubxi-05;>66Chr3`#&J8 zc-eDd!>fKIeD@pYKMQkQ%r&u1DRSMd=+<-_c5AqG%t~%8w~cTwGgjO&%aanGWhNH4 zJ>4Gw7KRNx*F?x3NseG$5kJ9R;CQv`c1cKrbWb7TiKn%&fz5rleYXd0RZEXZf)End z2e@}yre!Sk1s$tyebOB%KtNO#x*q1U!(IwcvqL9);w28kS}0h ztEttR_(`8}dnL?B#JFKZD}2l)UJbom`7(Isfk=0o)+F#Z%GeYw7SSCmRyGAl z)IR&Ia63OW3z&UOdFeLl_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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) {