O'Reilly logo

Start Here!™ Fundamentals of Microsoft® .NET Programming by Rod Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Variables

In this chapter:

  • What data types are and what the fundamental data types are

  • How strings are implemented in .NET

  • What program-defined data types are

  • How value and reference types differ

  • How a program can convert data from one type to another

  • How scope, accessibility, and lifetime affect what code can use a variable

TO MOST USERS, A PROGRAM IS a collection of buttons, labels, and text boxes stuck on a form. Behind the scenes, however, programs are all about data. Pieces of data hold the text displayed on the labels, the text entered by the user, the numeric values used to make calculations, and the size and positions of controls. Even the programs themselves are data at some level. If you open an executable program in an editor such ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required