To call external method defined in the C# class, we can start calling them by giving their fully qualified name (if the namespace is not imported using @using statement).
<p> @MVCTraining5.Utility.LogError.GetDate() </p>
Here, we are assuming that we have a static method GetDate() definiend in the LogError class that is in MVCTraining5.Utility namespace.
Views: 20360 | Post Order: 20