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

Summary

This chapter explained variables. A variable is a named section of memory that can hold data of a specific data type. It also summarized the most common data types used by .NET applications, which include fundamental data types, strings, and program-defined types such as enumerations, structures, and classes. Chapter 10 discusses structures and classes in more detail.

This chapter also discussed the difference between value and reference types. Not understanding this difference can lead to some very confusing behavior and bugs in intermediate and advanced applications.

Finally, this chapter listed the three features that determine when and where a program can access code items such as variables, structures, and classes: scope, accessibility, ...

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