gnosis
February 6th, 2008, 05:20 AM
I am really new to c# and was looking over some sample code. Here it is:
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("GetSearchResults.xml");
xmlDoc["GetSearchResultsRequest"]["RequesterCredentials"]["****AuthToken"].InnerText = userToken;
I do not understand this with the brackets. It looks to me like this is a three dimensional array of classes? However the original declaration was just for a single object.
I am totally confused by this notation. Any help or advice would be greatly appreciated.
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("GetSearchResults.xml");
xmlDoc["GetSearchResultsRequest"]["RequesterCredentials"]["****AuthToken"].InnerText = userToken;
I do not understand this with the brackets. It looks to me like this is a three dimensional array of classes? However the original declaration was just for a single object.
I am totally confused by this notation. Any help or advice would be greatly appreciated.