Below code snippet shows you how to transfer and display the string in the view from code behind,
In your controller of your application,
public ActionResult Index()
{
ViewBag.Message = "Welcome to Gaming Zone";
return View();
}
And., Call that string in the view(Index)
@ViewBag.Message