How to use generic syntax inside a Razor view file? February 17, 2023 by Tarik To use generic methods you need to escape the expression @(Html.Test<ISQL>().Nand())