ASP.NET Basics (Part 5): Cooking Up a Storm - Deeper Waters
(Page 3 of 8 )
The last article in this series marked the end of the basic section of this ASP.NET tutorial. Over the last four articles, I've attempted to give you a gentle introduction to C# and ASP.NET. I've shown you the basic components of an ASP.NET program; explained how to define simple variables; illustrated how to control the flow of your program through "if" and "switch" conditional expressions; and demonstrated how to run a particular set of statements repeatedly with "while" and "for" loops.
Now that you know the basic control structures available in C# - variables, conditionals and loops - it's time to move into murkier territory. In addition to the simple variables discussed previously, C# also comes with a whole set of more complex variables that build on the simple variables you encountered earlier to allow more complex data storage and manipulation. Over the course of this article, I'm going to give you a crash course in one of the more interesting and useful ones, arrays, and show you how you can use them to make your code jump through ever more interesting loops. Onwards and upwards, then!
Next: What's for Dessert? >>
More ASP.NET Articles
More By Harish Kamath (c) Melonfire