Question: Using C#: 1- get oldest person: using System; using System.Collections.Generic; class Program { static void Main() { // Shows a List of KeyValuePairs. var list
Using C#:
1- get oldest person:
using System; using System.Collections.Generic; class Program { static void Main() { // Shows a List of KeyValuePairs. var list = new List>(); list.Add(new KeyValuePair("Sara", 10)); list.Add(new KeyValuePair("Jack", 20)); list.Add(new KeyValuePair("Mac", 40)); // Do somthing to get oldest value. // Ex. Output: the oldest person is Mac. } } Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
