Var greetingMessage = greeting + " Today is: " + weekDay The value of myMessage is: greeting = "Welcome to our site!" The character starts inline expressions, single statement blocks, and multi-statement blocks: var total = 7 var myMessage = "Hello World" } You add code to a page using the character You can find more details about most of these programming techniques later in the article. For details, see the appendix Visual Basic Language and Syntax. However, the Razor syntax also supports the Visual Basic language, and everything you see you can also do in Visual Basic. The Razor syntax is based on the C# programming language, and that's the language that's used most often with ASP.NET Web Pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |