Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2012/5.0 > BOOK: Beginning Object-Oriented Programming with C#
|
BOOK: Beginning Object-Oriented Programming with C#
This is the forum to discuss the Wrox book Beginning Object-Oriented Programming with C# by Jack Purdum; ISBN: 978-1-1183-3692-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Object-Oriented Programming with C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2013, 02:58 PM
Authorized User
 
Join Date: Apr 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 14 Lambda Expression as Delegates and Expression Trees

In this section, bottom of Pg 369, the last paragraph; "This expression can be represented...", concludes with a sentence that uses the last Try It Out (Ch14Ex06) as an example of where you could use the generic delegate types instead of the TwoIntegerOperationDelegate delegate. Not having any luck making this work. I've tried Google, Bing, and a Pluralsight training video but I'm just not seeing how to do this.

Has anyone done this that would be willing to help clue me in? Thanks in advance.

Last edited by TJinWI; July 11th, 2013 at 04:36 PM.. Reason: Solved problem myself, putting generic definition in wrong. "private static void PerformOperations(Func<int, int, int> del)"
 
Old July 15th, 2013, 09:03 AM
Friend of Wrox
 
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Generic delegates

Your post mentions Chapter 14 and Lambda expressions and a quote from the last paragraph on page 369. I've checked out the page number and there is no paragraph that has your quote. Further, you mention the Try It Out, using Chapter 14, Exercise 06.

First, page 369 in my book is part of Chapter 13, not 14. Second, Chapter 14 doesn't have a question 6. Therefore, it seems to me you have posted this for the wrong book. Check your information and book title and see if it belongs somewhere else.
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
 
Old July 15th, 2013, 10:52 AM
Authorized User
 
Join Date: Apr 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sorry about that, wrong book.

I've posted this to the wrong book. Just checked the ISBN and it doesn't match. I'm using ISBN 978-1-118-31441-8.
 
Old July 16th, 2013, 10:05 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

My apologies, I caused this confusion. I missed creating the forum for Beginning Visual C# 2012 Programming so there was no where correct to place the question.
I've created the correct forum, copied the original question to there:
Chapter 14 Lambda Expression as Delegates and Expression Trees
And I'll close this thread here to avoid additional confusion. Thank you both for your patience.
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Expected Expression sohailmcs BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 July 2nd, 2010 02:25 PM
LINQ query \ LAMBDA expression - complex requirement sumitshah4u .NET Framework 3.5 0 March 16th, 2009 04:36 AM
Message> in query expression <expression>. (Error ybg1 Access 5 July 15th, 2007 05:42 AM
Regular Expression in C++ praveenholal C++ Programming 1 March 4th, 2007 01:18 AM
'OR' Expression saturdave ASP.NET 1.0 and 1.1 Basics 2 February 17th, 2004 03:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.