asp.net - How to print variable's value without a space char -


i'm newbie in asp.net , i've 1 question.let i've asp.net code snippet:

var nam="mik"; var name="spenser"; 

but if trying print mike spenser printing instead:

<p>this name @name</p> 

is possible print @nam+e without space , renaming of variables?

if using mvc can state variable follows

@(nam)e 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -