Unlike code expressions that are evaluated and sent to the response, this is the blocks of code that are executed. It is useful for declaring variables that may be required to be used later.
@{ int x = 123; string y = "aa"; }
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Unlike code expressions that are evaluated and sent to the response, this is the blocks of code that are executed. It is useful for declaring variables that may be required to be used later.