Atjaunināt sīkdatņu piekrišanu

Test Your Skills in C# Programming: Review and Analyze Important Features of C# 1st ed. [Mīkstie vāki]

  • Formāts: Paperback / softback, 464 pages, height x width: 254x178 mm, weight: 927 g, 25 Illustrations, black and white; XXVI, 464 p. 25 illus., 1 Paperback / softback
  • Izdošanas datums: 30-Sep-2022
  • Izdevniecība: APress
  • ISBN-10: 1484286545
  • ISBN-13: 9781484286548
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 55,83 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Standarta cena: 65,69 €
  • Ietaupiet 15%
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 464 pages, height x width: 254x178 mm, weight: 927 g, 25 Illustrations, black and white; XXVI, 464 p. 25 illus., 1 Paperback / softback
  • Izdošanas datums: 30-Sep-2022
  • Izdevniecība: APress
  • ISBN-10: 1484286545
  • ISBN-13: 9781484286548
Citas grāmatas par šo tēmu:
Intermediate user level

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#
About the Author xiii
About the Technical Reviewer xv
Acknowledgments xvii
Introduction xix
Part I Foundations
1(88)
Chapter 1 Fundamentals of NET and C#
3(30)
Theoretical Concepts
3(1)
Common NET Terminology
3(4)
Preliminary Concepts in C#
7(5)
Programming Skills
12(1)
Basic Programming Concepts
12(7)
Selection Statements
19(5)
Ternary Operator
24(1)
Iteration Statements
25(4)
Jump Statements
29(2)
Use of the var Keyword
31(2)
Chapter 2 Strings and Arrays
33(26)
Theoretical Concepts
34(1)
Strings in C#
34(4)
The Use of Arrays in C#
38(5)
Programming Skills
43(1)
String Fundamentals
43(10)
Array Fundamentals
53(6)
Chapter 3 Enumeration and Structure Types
59(30)
Theoretical Concepts
60(1)
Enumerations in C#
60(3)
Structures in C#
63(4)
Limitations of Using Structures in C#
67(1)
Programming Skills
68(1)
The enum Type Fundamentals
68(9)
Reviewing the Flags Enumeration
77(1)
The struct Type Fundamentals
78(6)
Testing the Default Value Expression
84(2)
Discussion About a C# 11 Feature
86(1)
Testing a Nondestructive Mutation
87(2)
Part II Object-Oriented Programming
89(180)
Chapter 4 Classes and Objects
91(20)
Theoretical Concepts
91(1)
Class and Object
91(2)
Constructor
93(3)
Bonus Q&A
96(2)
Programming Skills
98(1)
Basic Concepts and Use of Constructors
98(3)
Optional Parameters and Object Initializers
101(2)
Visibility Control Basics
103(1)
Nested Classes
104(2)
Use of Instance Methods
106(5)
Chapter 5 Inheritance
111(36)
Theoretical Concepts
111(1)
Basic Concepts
112(1)
Types of Inheritance
112(4)
Different Aspects of Inheritance
116(6)
Programming Skills
122(1)
Fundamentals
122(6)
Analyzing the sealed Keyword
128(2)
Method Overloading
130(6)
Method Overriding
136(6)
Method Hiding
142(1)
Covariance and Contravariance
143(4)
Chapter 6 Polymorphism
147(36)
Theoretical Concepts
148(1)
Polymorphism
148(4)
Abstract Class
152(1)
Interface
153(4)
Programming Skills
157(1)
Basic Concepts
157(4)
Abstract Class Case Studies
161(6)
Interface Case Studies
167(13)
One C#11 Feature
180(3)
Chapter 7 Encapsulation Using Properties and Indexers
183(30)
Theoretical Concepts
184(2)
Creating a Property
186(1)
Alternative Code to Create a Property
187(2)
Creating an Indexer
189(3)
Programming Skills
192(1)
Basic Concepts
193(3)
Virtual and Abstract Properties
196(3)
The Usage of the init Keyword
199(3)
Using Indexers
202(1)
Properties and Indexers in Interfaces
203(5)
Bonus Q&A
208(5)
Chapter 8 Handling Exceptions
213(26)
Theoretical Concepts
213(1)
Basic Concepts
214(5)
Exception Filters
219(1)
Custom Exception
220(2)
Programming Skills
222(1)
Fundamentals
222(1)
Using Multiple Catch Blocks
223(6)
Using a General Catch Block
229(2)
Throwing and Rethrowing an Exception
231(6)
Filtering Exceptions
237(2)
Chapter 9 Useful Concepts
239(30)
Theoretical Concepts
239(1)
Type Conversions
239(4)
C# Types
243(1)
Unsafe Code
244(3)
Extension Methods
247(1)
Constants in C#
247(2)
Bonus Q&A
249(1)
Programming Skills
250(1)
Static Data
250(3)
Using Extension Methods
253(4)
Passing the Value-Type by Value
257(1)
Passing the Value-Type by Reference
258(2)
Using the is Operator
260(1)
Using as Operator
261(2)
A Method That Returns Multiple Values
263(1)
Comparing the const and readonly Keywords
264(4)
One C# 10 Feature
268(1)
Part III Advanced C#
269(186)
Chapter 10 Delegates
271(24)
Theoretical Concepts
271(1)
Delegates in C#
272(6)
Generic Delegates
278(5)
Programming Skills
283(1)
Custom Delegates
283(3)
Multicast Delegates
286(2)
Generic Delegates
288(2)
Variance in Delegates
290(2)
Delegate Compatibility
292(3)
Chapter 11 Events
295(24)
Theoretical Concepts
297(1)
Understanding Events
297(4)
Different Aspects of Using Events
301(1)
Programming Skills
302(1)
Using a Built-in Event
303(1)
Passing Data with Events
304(3)
Event Accessors
307(4)
Interface Events
311(4)
Bonus Questions
315(4)
Chapter 12 Lambda Expressions
319(26)
Theoretical Concepts
319(1)
Understanding Lambdas
320(4)
Types of Lambda Expressions
324(1)
Restrictions
325(1)
Programming Skills
326(1)
Basic Concepts
326(1)
Expression-Bodied Members
327(4)
Local Variables in Lambda Expressions
331(1)
Tuples in Lambda Expressions
332(3)
Event Subscription
335(4)
Static Lambda
339(1)
Natural Type
340(1)
Bonus Questions
341(4)
Chapter 13 Generics
345(40)
Theoretical Concepts
346(1)
Motivation and Uses
346(2)
Generic Methods
348(1)
Restrictions
349(2)
Bonus Questions
351(1)
Programming Skills
352(1)
Basic Concepts
352(1)
Finding the Default Values
353(4)
Implementing a Generic Interface
357(2)
Understanding Generic Constraints
359(8)
Covariance
367(4)
Contravariance
371(6)
Self-Referencing Generic Type
377(2)
Testing Overloading and Overriding
379(4)
Analyzing Static Data
383(2)
Chapter 14 Threading
385(46)
Theoretical Concepts
386(1)
Threading Fundamentals
386(3)
Thread Safety
389(2)
Deadlock
391(1)
Thread Pool Class
391(2)
Bonus Q&A
393(2)
Programming Skills
395(1)
Basic Concepts
395(3)
Understanding the Doin() Method
398(3)
Handling Parameterized Methods
401(6)
Using Lambdas
407(4)
Foreground vs. Background Threads
411(2)
Understanding Thread Synchronization
413(5)
Exploring Deadlocks
418(3)
Using ThreadPool
421(5)
Managed Thread Cancellation
426(5)
Chapter 15 Miscellaneous
431(24)
Theoretical Concepts
431(1)
Concept of Preview
431(2)
Operator Overloading
433(1)
Partial Classes and Methods
434(2)
Programming Skills
436(1)
Preview Features
437(7)
Operator Overloading
444(4)
Partial Classes
448(2)
Partial Methods
450(5)
Appendix A A Final Note 455(1)
A Personal Appeal 455(2)
Appendix B Recommended Reading 457(2)
Index 459
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.