Simple and Efficient Programming with C# : Skills to Build Applications with Visual Studio And .NET / Vaskaran Sarcar.

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

Full description

Saved in:
Bibliographic Details
Main Author: Sarcar, Vaskaran (Author)
Format: eBook
Language:English
Published: Berkeley, CA : Apress L. P., 2022.
Edition:2nd edition.
Subjects:
Online Access:Click for online access

MARC

LEADER 00000cam a22000007i 4500
001 on1352969208
003 OCoLC
005 20240808213014.0
006 m o d
007 cr cnu---unuuu
008 221203s2022 cau o 000 0 eng d
040 |a EBLCP  |b eng  |e rda  |c EBLCP  |d ORMDA  |d GW5XE  |d YDX  |d EBLCP  |d OCLCF  |d OCLCQ  |d TOH  |d OCLCQ  |d YDX  |d OCLCQ  |d OCLCO  |d OCLCQ  |d OCLCL  |d OCLCQ  |d OCLCO  |d OCLCQ 
019 |a 1352419238 
020 |a 9781484287378  |q electronic book 
020 |a 1484287371  |q electronic book 
020 |z 9781484287361 
020 |z 1484287363 
024 7 |a 10.1007/978-1-4842-8737-8  |2 doi 
035 |a (OCoLC)1352969208  |z (OCoLC)1352419238 
037 |a 9781484287378  |b O'Reilly Media 
050 4 |a QA76.73.C154  |b S27 2022 
072 7 |a UMP  |2 bicssc 
072 7 |a COM051380  |2 bisacsh 
072 7 |a UMP  |2 thema 
049 |a HCDD 
100 1 |a Sarcar, Vaskaran,  |e author.  |1 https://id.oclc.org/worldcat/entity/E39PCjvvrBr3kqrdbdCdtDmG9C 
245 1 0 |a Simple and Efficient Programming with C# :  |b Skills to Build Applications with Visual Studio And .NET /  |c Vaskaran Sarcar. 
250 |a 2nd edition. 
264 1 |a Berkeley, CA :  |b Apress L. P.,  |c 2022. 
300 |a 1 online resource (322 p.) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
500 |a Description based upon print version of record. 
505 0 |a 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 
505 8 |a 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 
505 8 |a 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 
505 8 |a 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 
505 8 |a 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 
500 |a Case 1: Handling Different Exceptions in the Same Way 
520 |a 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. What Will You Learn Analyze alternative solutions before implementation by comparing pros and cons Make polymorphic code perform better Know the side effects of bad/redundant comments Understand the significance of the SOLID and DRY principles Add features using wrappers Redefine steps without altering the calling sequence of an algorithm Use hooks in your application Convert a complex system into a user-friendly system using facades Run your application in .NET 6 Who Is This Book For Developers with a basic knowledge of C#. 
650 0 |a C (Computer program language) 
650 7 |a C (Computer program language)  |2 fast 
655 0 |a Electronic books. 
758 |i has work:  |a Simple and efficient programming with C# (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCH3TGjfXqMB7WxPTwPBybd  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Print version:  |a Sarcar, Vaskaran  |t Simple and Efficient Programming with C#  |d Berkeley, CA : Apress L. P.,c2022  |z 9781484287361 
856 4 0 |u https://holycross.idm.oclc.org/login?auth=cas&url=https://link.springer.com/10.1007/978-1-4842-8737-8  |y Click for online access 
903 |a SPRING-ALL2023 
994 |a 92  |b HCD