Expressions vs. Statements, part 2: ASP.NET Code Block Types(michielvoo.net)

submitted by michielvoomichielvoo(125) 3 years, 1 month ago

Building on our knowledge of expressions vs. statements in C# we will investigate the different ways we can write code in ASP.NET pages using code blocks. As we will see, some of these code constructs are based on exactly the difference between these two. Looking at the implementation details of ASP.NET pages (after parsing) reveals just why we so often get the CS1026 compiler error, especially when coding ASP.NET MVC views.

add a comment |category: |Views: 10

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story