Description

Book Synopsis
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 a

Table of Contents
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


Test Your Skills in C Programming

Product form

£46.74

Includes FREE delivery

RRP £54.99 – you save £8.25 (15%)

Order before 4pm tomorrow for delivery by Fri 23 Jan 2026.

A Paperback by Vaskaran Sarcar

1 in stock


    View other formats and editions of Test Your Skills in C Programming by Vaskaran Sarcar

    Publisher: APress
    Publication Date: 1/30/2022 12:09:00 AM
    ISBN13: 9781484286548, 978-1484286548
    ISBN10: 1484286545

    Description

    Book Synopsis
    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 a

    Table of Contents
    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


    Recently viewed products

    © 2026 Book Curl

      • American Express
      • Apple Pay
      • Diners Club
      • Discover
      • Google Pay
      • Maestro
      • Mastercard
      • PayPal
      • Shop Pay
      • Union Pay
      • Visa

      Login

      Forgot your password?

      Don't have an account yet?
      Create account