ASP.NET Basics (part 2): Not My Type - It's A Wrap
(Page 10 of 10 )
And that's about it for the moment. Over the last few pages, I delved into the murky waters of C# variables, explaining the numerous simple data types that are available in C#. Next, I dealt with the character, string and numeric data types and introduced the operators that are commonly used with them. The concept of casting - changing the type of a variable implicitly or explicitly - was also explained, as were the some of the C# functions related to data type conversion between strings and numbers.
Now that you know the basics of variables in C#, it's time to move on to the language's conditional statements. In the next article, I will explore the intricacies of conditional expressions, which come in very useful when adding control routines to your code, together with comparison and logical operators, whose sole raison d'etre is to evaluate expressions.
All that and more, next time...so see you then!
Note: Examples are illustrative only, and are not meant for a production environment. Melonfire provides no warranties or support for the source code described in this article. YMMV!
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |