Check out example codes for "string builder render text as html". It will help you in understanding the concepts better.

Code Example 1

@Html.Raw(ViewBag.testing)

Learn ReactJs, React Native from akashmittal.com