Re: Object or ArrayList
From: NewBie (anonymous_at_discussions.microsoft.com)
Date: 06/08/04
- Next message: Jon Skeet [C# MVP]: "Re: Looping through all controls on a webform"
- Previous message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Catching every unhandled exception?"
- Next in thread: William Stacey [MVP]: "Re: Object or ArrayList"
- Reply: William Stacey [MVP]: "Re: Object or ArrayList"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Jun 2004 13:01:04 -0700
hello william i have tried but when i try to retrive i dont get any properties.
this is my code:
private void btnPlace_Click(object sender, System.EventArgs e)
{
orderList.Add ("GD",new test ());
orderList["GD"]. i get nothig here, when i so it with a arraylist properties comes up
}
public class test
{
public int number;
public double weight;
public test()
{
this.number = 100;
this.weight =253.3;
}
}
- Next message: Jon Skeet [C# MVP]: "Re: Looping through all controls on a webform"
- Previous message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Catching every unhandled exception?"
- Next in thread: William Stacey [MVP]: "Re: Object or ArrayList"
- Reply: William Stacey [MVP]: "Re: Object or ArrayList"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|