New to C# and need a lttle help on xmlDocument class.
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.
Re: New to C# and need a lttle help on xmlDocument class.
Any class can have an Indexer, which will typically allow access to internal collections as if the original object type represented an array. An XmlDocument is a tree structure., but all of the nodes (Elements) at a given level can be thought of as an Array, with the sub elements of a given element as another array...with the.....