namespace CodeFn
{
    class Bisi
    {
        private int _hede;
        public int Hede {
            get { return _hede; }
            set { _hede = value; }
        }
        private string _hode;
        public string Hode {
            get { return _hode; }
            set { _hode = value; }
        }
        public Bisi(int hede, string hode)
        {
            Hede = hede;
            Hode = hode;
        }
        public override string ToString()
        {
            return Hede.ToString() + "-" + Hode;
        }
    }
    class HedeColl : List<Bisi>
    {
        public HedeColl()
        {
            Add(new Bisi(1, "elma"));
            Add(new Bisi(22, "muz"));
            Add(new Bisi(4, "portakal"));
        }
    }
    class Program
    {
        private static void Main(string[] args)
        {
            Predicate<Bisi> match = new Predicate<Bisi>(BulBakalim);
            List<Bisi> meyveler = new List<Bisi>(new HedeColl());
            Bisi bisi = meyveler.Find(match);
            if (bisi != null)
            {
                Console.WriteLine("Bulunan bisi [{0}]", bisi.ToString());
            }
            else
            {
                Console.WriteLine("bisi bulunamadı");
            }
        }
        public static bool BulBakalim(Bisi bisi)
        {
            if (bisi.Hode == "muz")
            {
                return true;
            }
            return false;
        }
    }
}


 
Friday, November 27, 2009 4:21:50 AM (GTB Standard Time, UTC+02:00)
[url=http://www.gouggs.com]UGG Boots[/url] Promise:* 100% authentic sheepskin for unrivalled comfort; Durable double stitched construction;* Zero cost exchange;No additional duties or import fees;Worldwide trackable shipping with full-cover insurance;Lushiously thick inner fleece for extreme toastiness;All [url=http://www.gouggs.com]ugg boots[/url] on gouggs.com are free shipping 7 days delivery!
Friday, November 27, 2009 4:22:27 AM (GTB Standard Time, UTC+02:00)
<a href="http://www.gouggs.com/">Ugg Australia</a> Brand by the American company Deckers is a popular maker of Ugg Boots and fashion footwear. As we specialize in Australian made <a href="http://www.gouggs.com/">Ugg Boots</a> we do not sell Ugg Australia brand boots on this site but due to popular demand we can offer Ugg Australia Brand at our affiliated site: www.e-uggs.com;UGG New Style Boots are made from the <a href="http://www.gouggs.com/">highest quality plush twin-faced sheepskin</a>with craftsmanship you expect from UGG Australia.100% premium
Friday, November 27, 2009 4:25:47 AM (GTB Standard Time, UTC+02:00)
The Ugg Australia Brand by the American company Deckers is a popular maker of Ugg Boots and fashion footwear. As we specialize in Australian made Ugg Boots we do not sell Ugg Australia brand boots on this site but due to popular demand we can offer Ugg Australia Brand at our affiliated site: www.e-uggs.com ;UGG Boots Promise:

* 100% authentic sheepskin for unrivalled comfort
* Durable double stitched construction
* Zero cost exchange
* No additional duties or import fees
* Worldwide trackable shipping with full-cover insurance
* Lushiously thick inner fleece for extreme toastiness
* All ugg boots on www.gouggs.com are free shipping 7 days delivery!
Friday, November 27, 2009 4:26:12 AM (GTB Standard Time, UTC+02:00)
GoUggs.com has been a retailer for UGG® Australia since 2002, UGG Boots that the celebrities wear and have become so popular that the phrase 'ugg boots' has become synonymous with the brand.
UGG Boots Promise:

* 100% authentic sheepskin for unrivalled comfort
* Durable double stitched construction
* Zero cost exchange
* No additional duties or import fees
* Worldwide trackable shipping with full-cover insurance
* Lushiously thick inner fleece for extreme toastiness
* All ugg boots on www.gouggs.com are free shipping 7 days delivery!
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview