I have gone back in time this week to work on a legacy
ISAPI
application. The ISAPI application is being developed in C++ and
makes use of
MSXML to read an XML configuration file. Below is
some code in C++ to open the XML file and read two text values,
contained in element nodes:
Now, here is the code in C#:
Much easier huh? See how far we've come as developers.
Whilst writing my ISAPI application I had to remember to go back and
clean up my memory allocations because there is no friendly garbage
collector doing it for me - doh.