Skip to Main Content
C# 6.0 and the .NET 4.6 Framework, Seventh Edition
book

C# 6.0 and the .NET 4.6 Framework, Seventh Edition

by Andrew Troelsen, Philip Japikse
December 2015
Intermediate to advanced content levelIntermediate to advanced
1704 pages
43h 12m
English
Apress
Content preview from C# 6.0 and the .NET 4.6 Framework, Seventh Edition

CHAPTER 5

image

Understanding Encapsulation

In the Chapters 3 and 4, you investigated a number of core syntactical constructs that are commonplace to any .NET application you might be developing. Here, you will begin your examination of the object-oriented capabilities of C#. The first order of business is to examine the process of building well-defined class types that support any number of constructors. After you understand the basics of defining classes and allocating objects, the remainder of this chapter will examine the role of encapsulation. Along the way, you will learn how to define class properties and come to understand the details of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 8 and .NET Core 3.1 Recipes (2nd Edition) - Second Edition

C# 8 and .NET Core 3.1 Recipes (2nd Edition) - Second Edition

Dimitiris Loukas
C# 6.0 in a Nutshell, 6th Edition

C# 6.0 in a Nutshell, 6th Edition

Joseph Albahari, Ben Albahari

Publisher Resources

ISBN: 9781484213322Purchase book