Simple and Efficient Programming with C# : Skills to Build Applications with Visual Studio And .NET /
Apply skills and approaches to your programming to build a real-world application in C# 11 using the latest editions of Visual Studio, C#, and Microsoft .NET. This revised edition is updated with C#11 and places more emphasis on the newly introduced top-level statements. Additionally, you will find...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress L. P.,
2022.
|
Edición: | 2nd edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewers
- Introduction
- Part I: Fundamentals
- Chapter 1: Flexible Code Using Polymorphism
- Recap of Polymorphism
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Demonstration 2
- Analysis
- Useful Notes
- Summary
- Chapter 2: Abstract Class or Interface?
- Recap of Abstract Classes and Interfaces
- Initial Program
- Demonstration 1
- Better Program
- Demonstration 2
- Output
- Analysis
- Summary
- Chapter 3: Wise Use of Code Comments
- Recap of Code Comments
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Demonstration 2
- Analysis
- Use the Power of C#
- Demonstration 3
- Analysis
- Summary
- Part II: Important Principles
- Chapter 4: Know SOLID Principles
- Single Responsibility Principle
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Demonstration 2
- Output
- Open/Closed Principle
- Initial Program
- Demonstration 3
- Output
- Analysis
- Better Program
- Demonstration 4
- Output
- Analysis
- Liskov Substitution Principle
- Initial Program
- Demonstration 5
- Output
- Better Program
- Demonstration 6
- Output
- Analysis
- Interface Segregation Principle
- Initial Program
- Demonstration 7
- Output
- Analysis
- Better Program
- Demonstration 8
- Output
- Analysis
- Dependency Inversion Principle
- Initial Program
- Demonstration 9
- Output
- Analysis
- Better Program
- Demonstration 10
- Output
- Analysis
- Summary
- Chapter 5: Use the DRY Principle
- Reasons for DRY
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Demonstration 2
- Output
- Analysis
- Further Improvement
- Demonstration 3
- Output
- Demonstration 4
- Output
- Summary
- Part III: Make Efficient Applications
- Chapter 6: Separate Changeable Code Using Factories
- The Problem Statement
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Demonstration 2
- Output
- Analysis
- A New Requirement
- Demonstration 3
- Output
- Analysis
- Demonstration 4
- Output
- Summary
- Chapter 7: Add Features Using Wrappers
- The Problem Statement
- Initial Program (Using Subclassing)
- Demonstration 1
- Better Program (Using Object Composition)
- Class Diagram
- Demonstration 2
- Output
- Analysis
- Summary
- Chapter 8: Make Efficient Templates Using Hooks
- The Problem Statement
- Initial Program
- Class Diagram
- Demonstration 1
- Output
- Analysis
- Enhanced Requirement
- Demonstration 2
- Output
- Summary
- Chapter 9: Simplify Complex Systems Using Facades
- The Problem Statement
- Initial Program
- Demonstration 1
- Output
- Analysis
- Better Program
- Class Diagram
- Demonstration 2
- Output
- Analysis
- Summary
- Part IV: Handling Surprises in a Better Way
- Chapter 10: Organizing Exceptions
- Recap of Exceptions