Hi ,

I have a static class with static method in different class and I want to call it inside li element in _Layout file .

I tried like this but it errors and shows the yellow screen.

Code:
<span class="label label-info">@MyAppHelper.GetValue();</span>
I am using MVC 5 btw.

thanks