Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical C Programming

You're reading from   Practical C Programming Solutions for modern C developers to create efficient and well-structured programs

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838641108
Length 616 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Harwani Harwani
Author Profile Icon Harwani
Harwani
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Section 1: Kali Linux – Not Just for Penetration Testing
2. Chapter 1: Packt Chapter (H1 – Chapter) FREE CHAPTER 3. Chapter 2: Installing Kali Linux 4. Section 2: Forensic Fundamentals and Best Practices
5. Chapter 3: Understanding Filesystems and Storage Media 6. Chapter 4: Incident Response and Data Acquisition 7. Assessments 8. Other Books You May Enjoy

Chapter 8

  1. A callback is a function (or more generally, any executable code) that is passed as a parameter to another function in order to be called immediately (synchronous callbacks) or at a later time (asynchronous callbacks). A delegate is a strongly typed callback.
  2. A delegate is defined using the delegate keyword. The declaration looks like a function signature, but the compiler actually introduces a class that can hold references to methods whose signatures match the signature of the delegate. Events are variables of a delegate type declared with the event keyword.
  3. There are two kinds of tuples in C#: reference tuples, represented by the System.Tuple class, and value tuples, represented by the System.ValueTuple structure. The reference tuples can only hold up to eight elements, while the latter can hold a sequence of any number of elements, although at least two are required. Value tuples may have compile-type named fields, and have a simpler but richer syntax for...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images