T
Tamir Khason
How can I set the type of the object added to ArrayList (type of Array List
Members)
Here is the code:
protected ArrayList tabs = new ArrayList();
public ArrayList Tabs
{
get
{
return tabs;
}
set
{
tabs.Add(value); //The default type is object - how to change it to my
type???
}
}
Members)
Here is the code:
protected ArrayList tabs = new ArrayList();
public ArrayList Tabs
{
get
{
return tabs;
}
set
{
tabs.Add(value); //The default type is object - how to change it to my
type???
}
}