what is the purpose of </hr> in C# code?

I think you mean <hr />. If this is what you are referring to, its actually HTML, not C#. The HR element causes a horizontal rule to be rendered on the screen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.