Please login to save your progress.
Collections
Exercise: Remove an item from the list
Goal
Please remove the item "Luke Skywalker" from the list using the value itself.
x
1
using System;
2
using System.Collections.Generic;
3
4
public class Program
5
{
6
public static void Main()
7
{
8
List<string> characters = new List<string>()
9
{
10
"Luke Skywalker",
11
"Han Solo",
12
"Chewbacca"
13
};
14
15
// Your code goes here.
16
}
17
}
Page 9 of 31