Home What is "#" in Razor
Reply: 0

What is "#" in Razor

user420 Published in March 24, 2018, 5:45 pm

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.301823 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO