Advertisement

Advanced C# Language Features

  • Andrew Troelsen
  • Philip Japikse

Abstract

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).

Keywords

Indexer Method Pointer Type Extension Method Static Void Bright Pink 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Andrew Troelsen and Philip Japikse 2015

Authors and Affiliations

  • Andrew Troelsen
    • 1
  • Philip Japikse
    • 1
  1. 1.MinneapolisUSA

Personalised recommendations