How the Book Is Organized
Part I of this book concentrates on the C# language. Part II details how to write .NET programs, and Part III describes how to use C# with the .NET Common Language Runtime library.
Chapter 1, introduces you to the C# language and the .NET platform.
Chapter 2 demonstrates a simple program, to provide a context for what follows, and introduces you to the Visual Studio IDE and a number of C# language concepts.
Chapter 3, presents the basics of the language, from built-in data types to keywords.
Classes define new types and allow the programmer to extend the language so that you can better model the problem you’re trying to solve. Chapter 4, explains the components that form the heart and soul of C#.
Classes can be complex representations and abstractions of things in the real world. Chapter 5, discusses how classes relate and interact.
Chapter 6, teaches you how to add operators to your user-defined types.
Chapter 7 and Chapter 8 introduce Structs and Interfaces, respectively, both close cousins to classes. Structs are lightweight objects, more restricted than classes, that make fewer demands on the operating system and on memory. Interfaces are contracts; they describe how a class will work so that other programmers can interact with your objects in well-defined ways.
Object-oriented programs often create a great many objects. It is convenient to group these objects and manipulate them together, and C# provides extensive support for collections. ...
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.
Read now
Unlock full access