Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 26, 2012 03:13 AM by Paul Linton
Member
106 Points
124 Posts
Feb 24, 2012 10:20 AM|LINK
I'm not familiar withn using Dictionary. can you give me an example of how I would set it up using get and set?
Thanks
Star
13421 Points
2535 Posts
Feb 26, 2012 03:13 AM|LINK
public class Email_Records{ var EmailRecs = new Dictionary<int,Email_Record>(); public Email_Record this[int recordNum] { get { return EmailRecs[recordNum]; } set { EmailRecs[recordNum] = value; } }}
harrytu@clea...
Member
106 Points
124 Posts
Re: Get and set forlists
Feb 24, 2012 10:20 AM|LINK
I'm not familiar withn using Dictionary. can you give me an example of how I would set it up using get and set?
Thanks
Paul Linton
Star
13421 Points
2535 Posts
Re: Get and set forlists
Feb 26, 2012 03:13 AM|LINK
public class Email_Records{ var EmailRecs = new Dictionary<int,Email_Record>(); public Email_Record this[int recordNum] { get { return EmailRecs[recordNum]; } set { EmailRecs[recordNum] = value; } }}