currently I have a variable and a property:
private System.Xml.Linq.XDocument myDoc;
public System.Xml.Linq.XDocument getMyDoc
{
get
{
return myDoc;
}
set
{
myDoc = value;
}
}
now I need two docs:
private System.Xml.Linq.XDocument[] myDoc; // array with 2 or 3 XDocuments
My hope is that I'll be able to get or set a specific array element:
get
{
return myDoc(0);
}
set
{
myDoc(0)=value;
}
is it possible?
If this is important... I don't have all the information at one place since I'm using multithreading.