public class TestLambdaProgram
{
public static void Main( string[] args )
{
List
names.Add(“Saurabh”);
names.Add("Garima");
names.Add(“Vivek”);
names.Add(“Sandeep”);
string stringResult = names.Find( name => name.Equals(“Garima”));
}
You can print the whole list using this method :-
new List
0 comments:
Post a Comment