وبلاگ بلیان

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#

معرفی کتاب «Test Your Skills in C# Programming : Review and Analyze Important Features of C#» نوشتهٔ IPC (Organization) و Vaskaran Sarcar، منتشرشده توسط نشر Apress L. P. در سال 2022. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Review 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# Table of Contents About the Author About the Technical Reviewer Acknowledgments Introduction Part I: Foundations Chapter 1: Fundamentals of .NET and C# Theoretical Concepts Common .NET Terminology Preliminary Concepts in C# Programming Skills Basic Programming Concepts Selection Statements Ternary Operator Iteration Statements Jump Statements Use of the var Keyword Chapter 2: Strings and Arrays Theoretical Concepts Strings in C# The Use of Arrays in C# Programming Skills String Fundamentals Array Fundamentals Chapter 3: Enumeration and Structure Types Theoretical Concepts Enumerations in C# Structures in C# Limitations of Using Structures in C# Programming Skills The enum Type Fundamentals Reviewing the Flags Enumeration The struct Type Fundamentals Testing the Default Value Expression Discussion About a C# 11 Feature Testing a Nondestructive Mutation Part II: Object-Oriented Programming Chapter 4: Classes and Objects Theoretical Concepts Class and Object Constructor Bonus Q&A Programming Skills Basic Concepts and Use of Constructors Optional Parameters and Object Initializers Visibility Control Basics Nested Classes Use of Instance Methods Chapter 5: Inheritance Theoretical Concepts Basic Concepts Types of Inheritance Different Aspects of Inheritance Programming Skills Fundamentals Analyzing the sealed Keyword Method Overloading Method Overriding Method Hiding Covariance and Contravariance Chapter 6: Polymorphism Theoretical Concepts Polymorphism Abstract Class Interface Programming Skills Basic Concepts Abstract Class Case Studies Interface Case Studies One C# 11 Feature Chapter 7: Encapsulation Using Properties and Indexers Theoretical Concepts Creating a Property Alternative Code to Create a Property Creating an Indexer Programming Skills Basic Concepts Virtual and Abstract Properties The Usage of the init Keyword Using Indexers Properties and Indexers in Interfaces Bonus Q&A Chapter 8: Handling Exceptions Theoretical Concepts Basic Concepts Exception Filters Custom Exception Programming Skills Fundamentals Using Multiple Catch Blocks Using a General Catch Block Throwing and Rethrowing an Exception Filtering Exceptions Chapter 9: Useful Concepts Theoretical Concepts Type Conversions C# Types Unsafe Code Extension Methods Constants in C# Bonus Q&A Programming Skills Static Data Using Extension Methods Passing the Value-Type by Value Passing the Value-Type by Reference Using the is Operator Using as Operator A Method That Returns Multiple Values Comparing the const and readonly Keywords One C# 10 Feature Part III: Advanced C# Chapter 10: Delegates Theoretical Concepts Delegates in C# Generic Delegates Programming Skills Custom Delegates Multicast Delegates Generic Delegates Variance in Delegates Delegate Compatibility Chapter 11: Events Theoretical Concepts Understanding Events Different Aspects of Using Events Programming Skills Using a Built-in Event Passing Data with Events Event Accessors Interface Events Bonus Questions Chapter 12: Lambda Expressions Theoretical Concepts Understanding Lambdas Types of Lambda Expressions Restrictions Programming Skills Basic Concepts Expression-Bodied Members Local Variables in Lambda Expressions Tuples in Lambda Expressions Event Subscription Static Lambda Natural Type Bonus Questions Chapter 13: Generics Theoretical Concepts Motivation and Uses Generic Methods Restrictions Bonus Questions Programming Skills Basic Concepts Finding the Default Values Implementing a Generic Interface Understanding Generic Constraints Covariance Contravariance Self-Referencing Generic Type Testing Overloading and Overriding Analyzing Static Data Chapter 14: Threading Theoretical Concepts Threading Fundamentals Thread Safety Deadlock ThreadPool Class Bonus Q&A Programming Skills Basic Concepts Understanding the Join() Method Handling Parameterized Methods Using Lambdas Foreground vs. Background Threads Understanding Thread Synchronization Exploring Deadlocks Using ThreadPool Managed Thread Cancellation Chapter 15: Miscellaneous Theoretical Concepts Concept of Preview Operator Overloading Partial Classes and Methods Programming Skills Preview Features Raw String Literal Newlines Support in String Interpolations Auto-default Struct Static Abstract Interface Members Testing Warning Wave 7 Operator Overloading Partial Classes Partial Methods Appendix A: A Final Note A Personal Appeal Appendix B: Recommended Reading Index
دانلود کتاب Test Your Skills in C# Programming : Review and Analyze Important Features of C#