© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. ByrneTarget C#https://doi.org/10.1007/978-1-4842-8619-7_14

14. Interfaces

Gerard Byrne1  
(1)
Belfast, Ireland
 

Interfaces and Abstract Classes

We learned in Chapter 13 that classes contain methods and fields . We also read in Chapter 12 on methods that

The methods we have not created but have used, they all have one thing in common.

They all live inside a class; they are part of a class.

We also said that

The crucial takeaway from the last chapter and a vital thing to remember in this chapter is that a class contains methods and variables.

So, in the last chapter, we saw that methods form a large part of the classes we created or that exist in the C# ...

Get Target C#: Simple Hands-On Programming with Visual Studio 2022 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.