Create the method public static void RemoveLast(List
List<string> strings = new List<string>(); strings.Add("First"); strings.Add("Second"); strings.Add("Third"); // Remember, this is how you print all the items in a list strings.ForEach(Console.WriteLine); RemoveLast(strings); RemoveLast(strings); strings.ForEach(Console.WriteLine);


Pankajkumar PatelPosted Feb 20, 2020, 11:41 PM
Laxmidhar SahooPosted Feb 23, 2020, 3:33 AM