Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Getting Started with Advanced C#

79,99 €*

Lieferzeit Sofort lieferbar

Format auswählen
Produkt Anzahl: Gib den gewünschten Wert ein oder benutze die Schaltflächen um die Anzahl zu erhöhen oder zu reduzieren.
Getting Started with Advanced C#, Apress
Upgrade Your Programming Skills
Von Vaskaran Sarcar, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "Getting Started with Advanced C#"

Understand and work with the most important features of advanced C# in different programming environments. This book teaches you the fundamental features of advanced C# and how to incorporate them in different programming techniques using Visual Studio 2019.

The book is divided into two parts. Part I covers the fundamentals and essentials of advanced programming in C#. You will be introduced to delegates and events and then move on to lambda expressions. Part II teaches you how to implement these features in different programming techniques, starting with generic programming. After that, you will learn about thread programming and asynchronous programming, to benefit from a multi-threaded environment. Finally, you will learn database programming using ADO.NET to connect to a MySQL database and you will know how to exercise SQL statements and stored procedures through your C# applications.

WHAT YOU WILL LEARN

* Use delegates, events, and lambda expressions in advanced programming
* Make your application flexible by utilizing generics
* Create a fast application with multi-threading and asynchronous programming
* Work in Visual Studio Community Edition, which is the most common IDE for using C#


* Understand alternative implementations along with their pros and cons



Who This Book Is For

Developers and programmers who are already working in C#

VASKARAN SARCAR obtained his Master of Engineering in software engineering from Jadavpur University, Kolkata (India) and an MCA from Vidyasagar University, Midnapore (India). He was a National Gate Scholar (2007-2009) and has more than 12 years of experience in education and the IT industry. Vaskaran devoted his early years (2005-2007) to teaching at various engineering colleges and later he joined HP India PPS R&D Hub Bangalore and worked there until August, 2019. At the time of his retirement from the IT industry, he was a senior software engineer and a team lead at HP. To follow his dream and passion, Vaskaran is now a full-time author. Other Apress books by Vaskaran include: Interactive Object-Oriented Programming in Java (second edition), Java Design Patterns (second edition), Design Patterns in C#, Interactive C#, Interactive Object-Oriented Programming in Java, and Java Design Patterns.

INTRODUCTION

PART-I

CHAPTER 1: DELEGATES

Subtopics:

· What is a delegate?

· How to create and use delegates?

· What is a multicast delegate (Chaining of Delegates) and its uses?

· Adding and removing methods from a multicast delegate.

· Covariance and contravariance in non-generic delegates.

CHAPTER 2: EVENTS

Subtopics:

· Events overview

* Creation of events and example of simple events
* Subscribing single and multiple events
* Passing data to events
* Discussion on event accessors

CHAPTER 3: ANONYMOUS FUNCTION AND LAMBDA EXP.

Subtopics:

· A quick introduction to anonymous function and lambda expression.

* Lambda’s with and without parameters
* Types and scopes of a lambda expression
Expression syntaxes with example


CHAPTER 4: LINQ

Subtopics:

* LINQ overview
* Different case studies with simple and complicated query expressions
* Retrieving customized data from a query expression
* Comparing a method call syntax and a query syntax.
PART-II

CHAPTER 5: GENERIC PROGRAMMING

Subtopics:

* Generics overview
Comparing a generic program with its counterpart-a non-generic program * Self-referenced generics
* Use of ‘default’ in a generic program
How to put constraints in a generic program * Covariance and contravariance in the context of a generic program

CHAPTER 6: DATABASE PROGRAMMING

Subtopics:

· How to connect to a database

· Exercise simple queries to database and retrieving results from the database.

CHAPTER 7: THREAD PROGRAMMING

Subtopics:

Threads overview * Different case studies with multithreaded programs
* Use of ParameterizedThreadStart delegate in a multithreaded environment
* Passing multiple parameters to a thread
* Discussion on Synchronization and deadlock with examples

CHAPTER 8: ASYNCHRONOUS PROGRAMMING

Subtopics:

Brief overview * Different techniques to implement an asynchronous program(e.g. using async/await, thread, thread pool etc)

CHAPTER 9: DYNAMIC PROGRAMMING

Subtopics:

* DLR overview
* Dynamic type and its uses
* Dynamic type checking
* Runtime look up etc.

Artikel-Details

Anbieter:
Apress
Autor:
Vaskaran Sarcar
Artikelnummer:
9781484259344
Veröffentlicht:
25.06.20