ListIn this example, a list of fruits is created and the .Select() method is called to prompt the user to select a fruit. The selected fruit is then printed to the console. The System.Windows.Documents namespace is part of the WindowsBase.dll library, which is included in the .NET Framework.fruits = new List { "apple", "banana", "orange", "grape" }; string selectedFruit = fruits.Select(); Console.WriteLine("You selected " + selectedFruit);