I have one string which is class course type as "database subject".I want to display it as "Database Subject" means capitalize the string. And given string is dynamic.
foreach (var registration in Model.Registrations)
{
<br /><text> - -@registration.Class.Type.Course</text>
// Database Subject
}
I want to implement above changes in razor view.