• Complain

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

Here you can read online Vaskaran Sarcar - Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Vaskaran Sarcar Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET
  • Book:
    Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 best practices to make your programs more effective and reliable.



What Will You Learn
  • 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
  • Run your application in .NET 6


Who Is This Book For
Developers with a basic knowledge of C#

Vaskaran Sarcar: author's other books


Who wrote Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET? Find out the surname, the name of the author of the book and a list of all author's works by series.

Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of Simple and Efficient Programming with C Vaskaran Sarcar - photo 1
Book cover of Simple and Efficient Programming with C#
Vaskaran Sarcar
Simple and Efficient Programming with C#
Skills to Build Applications with Visual Studio and .NET
1st ed.
Logo of the publisher Vaskaran Sarcar Kolkata West Bengal India ISBN - photo 2
Logo of the publisher
Vaskaran Sarcar
Kolkata, West Bengal, India
ISBN 978-1-4842-7321-0 e-ISBN 978-1-4842-7322-7
https://doi.org/10.1007/978-1-4842-7322-7
Vaskaran Sarcar 2021
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This Apress imprint is published by the registered company APress Media, LLC part of Springer Nature.

The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.

Dear Reader,

You inspire me with your loving comments. I get upset by your critical comments. But in every case, you help me grow into a better person and a better author. So, you are my teachers. I dedicate this work with love to you. I also try my best to help you grow.

Introduction

Welcome to your journey through Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET. C# is an object-oriented programming (OOP) language. You may already know C# keywords, or even some interesting features. You may also know how to write simple programs in C#. You can learn these things from an introductory book or an online tutorial. These are useful things to know, but they are not sufficient to understand an enterprise codebase. This is why a novice programmer often finds it difficult to understand an experts code. He or she wonders why an experienced programmer wrote the program differently. It may appear to the novice that the expert could have used an easier approach to solve the problem. But there are reasons why an experienced programmer might follow a different approach. The word experienced indicates that these programmers have more experience in programming and know the pros and cons of different approaches. They know how the C# features can be used in the best possible way to develop an application. So, the applications they make are usually powerful. What do I mean by a powerful application? For me, a powerful application is robust, extensible, and easily maintainable, but simple to use. This book is an introductory guide to develop such applications. This is the core aim of this book.

To write better quality programs, senior programmers follow in experts footprints. They learn from collective wisdom and recorded experience from the past. So, instead of attempting an entirely new solution, you should first consider this knowledge base, which will help you produce better quality code. It is best to have some idea about why you should or shouldnt follow any specific guideline.

Malcolm Gladwell, in his book Outliers (Little, Brown and Company), discussed the 10,000-hour rule. This rule says that the key to achieving world-class expertise in any skill is, to a large extent, a matter of practicing the correct way, for a total of around 10,000 hours. I acknowledge that it is impossible to consider all experiences before you write a program. Also, sometimes it is OK to bend the rules if the return on investment (ROI) is nice. So, keep in mind the Pareto principle, or 80-20 rule. This rule simply states that 80% of outcomes come from 20% of all causes. This is useful in programming too. When you identify the most essential characteristics of top-quality programs and use them in your applications, you also qualify yourself as an experienced programmer, and your application will be robust, flexible, and maintainable. In this book, I share with you these important principles, which will help you write better programs for case studies. Some of these principles you may know already, but when you see them in action and compare the case studies, youll understand their importance.

How Is the Book Organized?
The book has four major parts, which are as follows:
  • The first three chapters form Part I, in which there is a detailed discussion of polymorphism and the use of abstract classes and interfaces. Here, code comments will be examined, and you will learn when to use them effectively. These are the fundamental building blocks for the rest of the book.

  • In the world of programming, there is no shortage of programming principles and design guidelines. Each of these suggestions has its own benefits. To become a professional programmer, you do not need to learn everything at the same time. So, in Part II, I discuss six design principles, which include SOLID principles and the DRY principle. These are the foundation of well-known design patterns. Once you understand them, you can consider yourself a better programmer.

  • The best way of learning is by doing and analyzing case studies. So, in Part III of the book, you will see interesting applications that use some well-known patterns. This part gives you hints about how a professional coder develops an enterprise application.

  • There is no end to learning. So, Part IV includes some interesting topics such as how to prevent memory leaks, how to choose between a static method and an instance method, and some common terms from software development that are not discussed in detail in this book. A quick overview of these topics will help you to be familiar with them when you see them in your future endeavors.

  • You can download all the source code for the book from the publishers website. I have a plan to maintain the errata, and, if required, I can also make some updates/announcements there. So, I suggest that you visit those pages to receive any important corrections or updates.

Prerequisite Knowledge

This book is intended for those who are familiar with the basic language constructs of C# and have an idea about pure object-oriented concepts like polymorphism, inheritance, abstraction, encapsulation, and, most important, how to compile or run a C# application in Visual Studio. This book does not invest time in easily available topics, such as how to install Visual Studio on your system, or how to write a Hello World program in C#, or how you can use an if-else statement or a while loop, etc. This book is written using the most basic features of C# so that for most of the programs herein you do not need to be familiar with advanced topics in C#. The examples are simple and straightforward. I believe that they are written in such a way that even if you are familiar with another popular language such as Java, C++, and so on, you can still easily grasp the concepts in this book.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET»

Look at similar books to Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET»

Discussion, reviews of the book Simple and Efficient Programming with C#: Skills to Build Applications with Visual Studio and .NET and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.