I'm programatically creating a simple HTML file which is saved directly to disk. I was looking at this example: http://www.dotnetperls.com/htmltextwriter
I'm confused why he mixes HtmlTextWriter
's Render
and Write
methods, and how I should choose between RenderBeginTag()
and WriteBeginTag()
.
Are there are hard rules on what is right & wrong?