Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Week 1. At a Glance
Day 3. Using Visual Basic.NET and C#
In the past two days, you've learned what an ASP.NET page looks like and what its various parts do. You've also gained a solid foundation on the .NET Framework, and now you're going to start learning how to build your own ASP.NET pages using Visual Basic.NET and C#.
Using either of these languages will allow you to build dynamic pages that use all the power of ASP.NET. Today's lesson covers ASP.NET's syntax, general programming structures, and programming methodologies, with examples of each. This is by no means intended to be a complete guide to VB.NET or C#, but it's a good introduction to the concepts you'll need to know in later chapters.
Even if you're familiar with VB.NET or C#, you still need to read today's discussion. It is not simply a primer on the languages it contains information on working with ASP.NET pages using VB.NET and C#.
Today's lesson will cover the following:
An introduction to VB.NET and C#
What variables and arrays are
What conditional, looping, and branching logic are
What functions and subroutines are
How to write an event handler
What classes are
Some useful VB.NET functions for programmers with prior experience