Class Field in list.
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi,
I am creating an address book example. For the purpose i have created
2 classes
one is
ContactInfo
name
department
PhoneInfo
OfficePhone
Mobile
Now I want to design the class in such a way that when I type
ContactInfo.PhoneInfo.mobile
it should take the list of mobile numbers
im using dotnet 2.0 and know little about generics.
can we implement generics for the same.
.
Relevant Pages
- Re: Generics vs Constants - what criteria do you use to choose between these?
... constants/lower level generics. ... On the subject of design reuse, say I'm reusing a module in an upgrade ... There are many reasons to have different configurations for simulation ... (comp.lang.vhdl) - Re: Generics vs Constants - what criteria do you use to choose between these?
... With generics, the parameters must be passed through every level, from ... In a large, complex design, ... If naming collisions between record elements get to be a problem, ... parameter management, preferring to manage the parameters at the point ... (comp.lang.vhdl) - Re: What *is* design?
... >>>the agent that makes them. ... >> I made the stuff, sometimes it has a purpose, sometimes it does not. ... design have any real meaning. ... And infer the intent of that agent. ... (talk.origins) - Re: Open source alternative for MsAccess?
... These are not RAD database application development systems that can ... The design reflects the purpose of the product. ... VB is not VBA and VBA is not VBA as used in Access. ... (comp.os.linux.development.apps) - Re: What *is* design?
... As such they have no purpose. ... >>the agent that makes them. ... reiterate again I'm trying to generalize the definition of design. ... >>>And I don't know a meaningful way to distinguish intent from purpose. ... (talk.origins) |
|