Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: namespace vs reference Pin
J4amieC18-Oct-04 23:42
J4amieC18-Oct-04 23:42 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:36
CocciaStella19-Oct-04 19:36 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay19-Oct-04 20:49
Colin Angus Mackay19-Oct-04 20:49 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:21
CocciaStella19-Oct-04 19:21 
GeneralRe: namespace vs reference Pin
«_Superman_»19-Oct-04 0:23
professional«_Superman_»19-Oct-04 0:23 
GeneralGetEnumerator Pin
Member 138504918-Oct-04 17:13
Member 138504918-Oct-04 17:13 
GeneralRe: GetEnumerator Pin
sreejith ss nair18-Oct-04 19:03
sreejith ss nair18-Oct-04 19:03 
GeneralRe: GetEnumerator Pin
HahnTech18-Oct-04 19:59
HahnTech18-Oct-04 19:59 
GeneralXML Transforms Error Pin
jzb18-Oct-04 16:23
jzb18-Oct-04 16:23 
GeneralRe: XML Transforms Error Pin
Stanciu Vlad18-Oct-04 19:08
Stanciu Vlad18-Oct-04 19:08 
Generalhelp new to C and problems with loops Pin
jenmaz18-Oct-04 15:54
jenmaz18-Oct-04 15:54 
GeneralRe: help new to C and problems with loops Pin
Steve Maier18-Oct-04 17:01
professionalSteve Maier18-Oct-04 17:01 
GeneralRe: help new to C and problems with loops Pin
jenmaz18-Oct-04 17:10
jenmaz18-Oct-04 17:10 
GeneralRe: help new to C and problems with loops Pin
sreejith ss nair18-Oct-04 19:27
sreejith ss nair18-Oct-04 19:27 
GeneralRe: help new to C and problems with loops Pin
Dave Kreskowiak19-Oct-04 3:55
mveDave Kreskowiak19-Oct-04 3:55 
Generalcollection question Pin
isittheweekendyet18-Oct-04 14:16
isittheweekendyet18-Oct-04 14:16 
Hi all

I realise this is probably the most basic C# question I could ask, so apologies in advance, but I have searched everywhere and just can't seem to find a complete answer, all in one place.

I have a class called Donor. Inside Donor, I have properties such as Name, Address, Telephone, etc, but I would also like a collection of Donation classes.

The Donation class has properties such as Date, Amount, MethodOfPayment, etc.

So, I have a Donor class and a Donation class. And I would like my Donor class to contain a collection of Donation classes, which can be added to, removed from, and iterated around using foreach.

Could someone show me the basic steps I need to go through in order to achieve this, or point me in the direction of a good example that encompasses this problem.

Many thanks

M
GeneralRe: collection question Pin
Nick Parker18-Oct-04 15:16
protectorNick Parker18-Oct-04 15:16 
GeneralRe: collection question Pin
sreejith ss nair18-Oct-04 19:40
sreejith ss nair18-Oct-04 19:40 
Generalpassing a function name as a paramter Pin
njaromack18-Oct-04 12:34
njaromack18-Oct-04 12:34 
GeneralRe: passing a function name as a paramter Pin
S Sansanwal18-Oct-04 13:25
S Sansanwal18-Oct-04 13:25 
GeneralRe: passing a function name as a paramter Pin
njaromack19-Oct-04 4:36
njaromack19-Oct-04 4:36 
Questionstring ctor?? Pin
HahnTech18-Oct-04 12:33
HahnTech18-Oct-04 12:33 
AnswerRe: string ctor?? Pin
Nick Parker18-Oct-04 15:29
protectorNick Parker18-Oct-04 15:29 
GeneralRe: string ctor?? Pin
HahnTech18-Oct-04 16:28
HahnTech18-Oct-04 16:28 
GeneralRe: string ctor?? Pin
Nick Parker18-Oct-04 18:08
protectorNick Parker18-Oct-04 18:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.