Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Test Your Skills in C# Programming: Review and Analyze Important Features of C#
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Test Your Skills in C# Programming: Review and Analyze Important Features of C#

Test Your Skills in C# Programming: Review and Analyze Important Features of C#

Vaskaran Sarcar

464 pages, parution le 29/09/2022

Résumé

Intermediate user levelReview the fundamental constructs in C# using Q&As and program segments to boost your confidence and gain expertise. This book will help you analyze your programs more efficiently and enhance your programming skills.
The book is divided into three parts, where you will learn the fundamentals, object-oriented programming, and some advanced features of C#. In the first part, you will review C# and .NET basics along with the important constructs such as strings, arrays, and structures. In the second part, you'll review the concepts of object-oriented programming in detail. Here, you will go through various program segments in class and objects, inheritance, polymorphism, abstraction, encapsulation, and much more. You will also analyze the output of the given programs with the help of Q&A sections. The uses of interfaces, static class, and exception handling are discussed in the book along with some other important concepts in C#. In the third and last part, you will learn advanced features of C# programming such as delegates, events, lambdas, generics, and multithreading. Here, you'll also cover some of the latest features of C#.
After reading this book, you will be able to analyze and apply the basic and frequently used features along with the advanced features of C#.
What Will You Learn
  • Understand the core and some of the latest features in C#
  • Review your programming skills along with some of the latest features in C#
  • Know how object-oriented programming (OOP) is used in C#
  • Get up and running on the advanced features of C# such as delegates, lambdas, generics, and more
Who This Is Book For
Programmers with basic knowledge of C#
Part I Fundamentals
Chapter 1: Language Basics

Chapter Goal: This chapter discusses the following topics:

The important concepts in .NET

The basic programming constructs in C#.

Use of some useful data types including the var type.

Use of some useful operators and explicit-casting.

Use of the selection statements and case guards.

Use of iteration statements.

Use of the jump statements.

Use of the ternary operator.

No of pages: 28

Sub - Topics N

Chapter 2: String and Arrays

Chapter Goal:

Once you finish this chapter, you can answer the following questions and related areas:

How can you use string datatype in your program?

How can you use the common in-built methods from the String class?

How a String variable is different from a StringBuilder?

How can you convert a string to an int?

How can you use nullable reference type in a program?

How to create arrays in C#?

What are the different types of C# arrays and how to use them?

How to use common in-built methods from the System.Array class?

How can you iterate over a string or an array?

No of pages 23

Sub - Topics NA

Chapter 3: Enumeration and Structures

Chapter Goal: This chapter discusses the following topics:

The enum fundamentals

Flags enumeration

Defaut value expressions

The struct fundamentals

Non-destructive mutations

No of pages : 26

Sub - Topics NA

Part II Object-Oriented Programming
Chapter 4: Class and Objects

Chapter Goal: This chapter focuses on the following topics:

Classes and objects creations.

Instance fields and methods.

Constructors and their usage.

Optional parameters.

Object initializers.

Nested classes.

The uses of private, internal, and public modifiers inside a class.

No of pages : 17

Sub - Topics NA

Chapter 5: Inheritance

Chapter Goal: This chapter covers the following topics:

Inheritance and types.

Method and constructor overloading.

Method overriding.

Use of virtual, override, and new keywords.

Use of the sealed keyword.

Introductory discussion on covariance and contravariance

No of pages 33

Sub - Topics NA

Chapter 6: Polymorphism

Chapter Goal: This chapter helps you to review:

Polymorphism and its benefits.

Abstract classes and their uses.

Interfaces and their uses.

Different types of interfaces.

Writing polymorphic codes using abstract classes and interfaces

No of pages : 30

Sub - Topics NA

Chapter 7: Encapsulation

Chapter Goal: This chapter covers the following topics:

What is encapsulation? How is it different from an abstraction?

Properties and their usage.

Different ways to create a property.

The usage of the get and set accessors.

Virtual and abstract properties.

The discussion of the init accessor.

Indexers and their usage.

How can the indexers and properties work with an interface?

Discussion on different aspects of properties and indexers.

No of pages : 26

Sub - Topics NA

Chapter 8: Exception Handling

Chapter Goal: This chapter covers the following topics:

Exception and its uses in C# programming.

Use of the try, catch, and finally blocks.

Use of multiple catch blocks in a program.

Use of a general catch block.

How to throw and re-throw an exception.

Use of exception filters.

Custom exception class and its usage.

No of pages : 23

Sub - Topics NA

Chapter 9: Useful Concepts

Chapter Goal: Q&A and program segments on some useful constructs such as casting and boxing, static class and methods, passing value type by value, passing value type by references(using ref and out keyword), extension methods, and so on.

No of pages : 15-25+

Sub - Topics NA

Part III Advanced Features Chapter 10: Delegates

Chapter Goal: This chapter covers the following topics:

Delegates and their uses

Multicast delegates

Some commonly used in-built delegates

Covariance and contravariance using delegates

No of pages : 20

Sub - Topics NA

Chapter 11: Events

Chapter Goal: This chapter helps you to review your understanding of events and discusses the following:

Events creation and their uses.

How to pass the event data.

Use of event accessors.

Use of interface events (both implicit and explicit).

Simplified coding with events.

No of pages : 22

Sub - Topics NA

Chapter 12: Lambdas

Chapter Goal: This chapter focuses on this and covers the following topics:

Lambda expressions and their use

Expression-bodied members

Use of local variables inside lambda expressions.

Event handling using lambda expressions.

Use of a static lambda.

Understanding natural type.

No of pages : 22

Sub - Topics NA

Chapter 13: Generics

Chapter Goal: This chapter focuses on the following topics:

The motivation behind generics.

The fundamentals of generic programs.

Use of generic interfaces.

Use of generic constraints.

Use of covariance and contravariance using generics.

Self-referencing generic type.

Experimenting with generic method's overloading and overriding.

Analyzing the static data in the context of generics.

No of pages : 35

Sub - Topics NA

Chapter 14: Multithreading

Chapter Goal: Upon completion of this chapter, you'll be able to answer the following questions:

What are the threads and how can you create them?

What is a multithreaded program? How does it differ from a single-threaded application?

Why are the ThreadStart and ParameterizedThreadStart delegates important in thread programming?

How to block a thread using Sleep or Join methods?

How can you use lambda expressions in a multithreaded program?

How to use important Thread class members?

How a foreground thread is different from a background thread?

What is synchronization and why is it needed?

How can you implement thread safety in C# using lock statements?

How can you implement an alternative approach to lock statements using Monitor's Entry and Exit Method?

What is a deadlock and how can you detect the deadlock in your system?

What is the purpose of using the ThreadPool class? What are the associative pros and cons of using it?

How to cancel a running thread in the managed environment?

And many more.

No of pages : 40

Sub - Topics NA

Chapter 15: Miscellaneous

Chapter Goal: Q&A and program segments on the related latest features that are covered in the previous chapters and any other important topics(if any).

No of pages : 10-20+

Sub - Topics NA


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 the teaching profession at various engineering colleges, and later he joined HP India PPS R&D Hub Bangalore. He worked there until August 2019. At the time of his retirement from HP, he was a Senior Software Engineer and Team Lead at HP. To follow his dream and passion, Vaskaran is now an independent full-time author. Other Apress books by him include: Java Design Patterns Third Edition, Simple and Efficient Programming in C# , Design Patterns in C# Second Edition, Getting Started with Advanced C#, 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, Java Design Patterns .

Caractéristiques techniques

  PAPIER
Éditeur(s) Apress
Auteur(s) Vaskaran Sarcar
Parution 29/09/2022
Nb. de pages 464
EAN13 9781484286548

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav.client@eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription