To import a namespace in Razor view, we use using statement as we write in C# class however it should be prefixed with @.
Here we are importing namespace MVCTraining5.Utility namespace.
To call any method insider that namespace, we do not need to give a fully qualified name. Assuming LogError class is MVCTraining5.Utility namespace, we can call it's method like below.
Assuming GetDate() method is declared in the LogError class that exists in the MVCTraining5.Utility namespace.Views: 9806 | Post Order: 19