Thursday, February 9, 2012

How to define a function in Razor view, cshtml file?


 @functions{
    private int Hello()
    {
        return 0;
    }
}


No comments:

Post a Comment