Home What is "#" in Razor
Reply: 0

What is "#" in Razor

user420 Published in June 20, 2018, 1:30 am

I am looking at a .cshtml file and I see a syntax like this:

 #if(data.PersonImage){# <img src  

I know @ is for writing C# code, I also looked at this guide below but still couldn't find what is # doing?


You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.305163 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO