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 11

image

Advanced C# Language Features

In this chapter, you’ll deepen your understanding of the C# programming language by examining a number of more advanced topics. To begin, you’ll learn how to implement and use an indexer method. This C# mechanism enables you to build custom types that provide access to internal subitems using an array-like syntax. After you learn how to build an indexer method, you’ll see how to overload various operators (+, -, <, >, and so forth) and how to create custom explicit and implicit conversion routines for your types (and you’ll learn why you might want to do this).

Next, you’ll examine topics that are particularly ...

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