My Account Log in

1 option

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

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Sarcar, Vaskaran, author.
Language:
English
Subjects (All):
Microsoft software.
Microsoft .NET Framework.
Microsoft.
Local Subjects:
Microsoft.
Physical Description:
1 online resource (282 pages)
Edition:
1st ed. 2021.
Place of Publication:
Berkeley, CA : Apress : Imprint: Apress, 2021.
Summary:
Apply skills and approaches to your programming to build a real-world application in C# 9 using the latest editions of Visual Studio, C#, and Microsoft .NET. Each chapter opens with an introduction and original application written in C# 9 for you to jump 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 four 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 you will know 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 takes you through the 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. In the fourth and final part you will learn about effective memory management techniques by preventing leaks in your application and the use and misuse of design patterns. This part also discusses how to decide between a static method and an instance method and other techniques, in brief. After reading this book, you will be able to implement bestpractices to make your programs more effective and reliable. You will: Analyze the alternative solutions before implementation by comparing the 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 Test your application in the latest edition of .NET.
Contents:
Part I: Fundamentals
Chapter 1: Flexible Code Using Polymorphism
Chapter 2: Abstract Class or Interface?
Chapter 3: Wise Use of Code Comments
Part II: Important Principles
Chapter 4: Know SOLID Principles
Chapter 5: Use the DRY Principle
Part III: Make Efficient Applications
Chapter 6: Separate Changeable Code Using Factories
Chapter 7: Add Features Using Wrappers
Chapter 8: Efficient Templates Using Hooks
Chapter 9: Simplify Complex Systems Using Facades. - Part IV: The Road Ahead
Chapter 10: Memory Management. – Chapter 11: Leftover Discussions. .
ISBN:
1-5231-5090-4
1-4842-7322-2
OCLC:
1267585119

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account