using System.Collections.Generic;
using System.Linq;
// using where clasue within the collection.
List
// using where clasue & some property contain value search.
List
// pick the default value collection
Climate climate = Common.GetAllCities().SingleOrDefault
// pick the First/default value collection
Climate climate1 = Common.GetAllCities().FirstOrDefault
// sort the list
Common.GetAllCities().Sort();
No comments:
Post a Comment