This post explains how to create XML element without namespace attribute in C#. This post also is answer to following topics, How…