ASP.NET Basics (Part 5): Cooking Up a Storm - Over and Out
(Page 2 of 8 )
And that's about it for today. I started this article with an introduction to arrays, a complex variable type that allows developers to store multiple values in a single variable. This was followed by a quick rundown on how to initialize and manipulate them. As part of your introduction to arrays, I also showed you how to define, access and use multi-dimensional and jagged arrays, and iterate over them with the special "foreach" loop. Finally, I wrapped things up with a brief look at enumerations, which make it possible to restrict variable values to a predefined set.
In the next segment of this article, I will explain the concept of functions - a block of statements that can be grouped together as a named entity.Functions make it possible to group your code into logical, reusable blocks, and can save you a fair amount of repetitive typing - as well as offering a more efficient way of structuring your C# programs. Make sure you come back for that!
Note: Examples are illustrative only, and are not meant for a production environment. Neither Melonfire nor ASP Free provide any warranties or support for the source code described in this article.
Next: Deeper Waters >>
More ASP.NET Articles
More By Harish Kamath (c) Melonfire