using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Xml.Linq;
class Program
{
staticvoid Main(string[] args)
{
//
List<string> myList2 = new List<string>();
myList2.Add("A");
myList2.Add("B");
myList2.Add("C");
myList2.Add("D");
string vanilla2 = myList2.Find((string icecreamname) => icecreamname.Equals("B"));
Console.WriteLine(vanilla2);
}
}