Simple and Efficient Programming with C# Simple and Efficient Programming with C#

Simple and Efficient Programming with C‪#‬

Skills to Build Applications with Visual Studio and .NET

    • $69.99
    • $69.99

Publisher Description

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 useful techniques and an explanation of the differences between writing code in two different styles. It also covers the new templates introduced in .NET 6, along with usage of .NET 7 in Windows 10 to write code and generate output. 
Each chapter opens with an introduction and original application written in C# 11 so that you can jump right into coding. From there, you are guided through an expected output and taught best practices along the way. Author Vaskaran Sarcar emphasizes extending and maintaining the same program and he demonstrates examples for different scenarios to make your program more efficient and effective.

This book is divided into five parts. The first part starts with a detailed discussion of polymorphism. It then shows you how to make proper use of abstract classes and interfaces, and teaches you to discern which technique to use for a specific scenario. Discussions on code comments teach you how to use them effectively, and why you need to be careful with code comments.

In the second part you will learn six design principles, including SOLID and DRY principles. These are the foundation of well-known design patterns, and they establish practices for developing software with considerations for maintaining and extending as a project grows.

The third part walks you through methods to make efficient applications. You will learn the common use of factories to separate code from its opposite and the alternative of inheritance using object composition and wrappers. This part also demonstrates the use of template methods, hooks, and facades in programming. Hints show you how professional coders develop an enterprise application.

Better handling of exceptions and null values is another integral part of professional programming, which the fourth part explores in detail. This will help you become a more professional programmer.

In the final part of the book, you will learn about effective memory management techniques and the use and misuse of design patterns. This part also briefly discusses how to decide between a static method and an instance method and other techniques.

After reading this book, you will be able to implement best practices to make your programs more effective and reliable.

You will:Analyze alternative solutions before implementation by comparing pros and consMake polymorphic code perform betterKnow the side effects of bad/redundant commentsUnderstand the significance of the SOLID and DRY principlesAdd features using wrappersRedefine steps without altering the calling sequence of an algorithmUse hooks in your applicationConvert a complex system into a user-friendly system using facadesRun your application in .NET 6

GENRE
Computing & Internet
RELEASED
2022
28 November
LANGUAGE
EN
English
LENGTH
337
Pages
PUBLISHER
Apress
SELLER
Springer Nature B.V.
SIZE
11.4
MB

More Books Like This

Design Patterns with Java Design Patterns with Java
2023
Programming Design Patterns: Questions and Answers (2020 Edition) Programming Design Patterns: Questions and Answers (2020 Edition)
2019
Aspect-Oriented Programming with the e Verification Language (Enhanced Edition) Aspect-Oriented Programming with the e Verification Language (Enhanced Edition)
2010
Software Design: Questions and Answers (2020 Edition) Software Design: Questions and Answers (2020 Edition)
2019
Software Design: Questions and Answers Software Design: Questions and Answers
2018
PHP in Action PHP in Action
2007

More Books by Vaskaran Sarcar

Introducing Functional Programming Using C# Introducing Functional Programming Using C#
2023
Test Your Skills in C# Programming Test Your Skills in C# Programming
2022
Java Design Patterns Java Design Patterns
2022
Simple and Efficient Programming with C# Simple and Efficient Programming with C#
2021
Design Patterns in C# Design Patterns in C#
2020
Getting Started with Advanced C# Getting Started with Advanced C#
2020