using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Application.DomainModel.Collections { public class Couriers<Courier> : List<Courier> { public Courier this[string courierCode] { get { return this.Find(delegate(Courier courier) { return (string.Compare(courier.CourierCode, courierCode) == 0); }); } } } public class Courier { public string CourierCode { get; set; } } }
Tuesday, November 13, 2007
Overriding Index of a Generic List
Subscribe to:
Post Comments (Atom)
Azure Storage Account Types
Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...
-
How to open a popup using asp.net panel How to open a new window after executing some code How to create a popup window in code behind
-
Demo: I was thinking a way to show images before actually uploading them to server. I would say to preview images using javascript. Obv...
No comments:
Post a Comment