Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
  #1 (permalink)  
Old March 30th, 2010, 04:03 PM
Join Date: Jan 2010
Location: Michigan
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default delete this thread

Sometimes I just don't get the syntax of OOP languages. Once you think you know the rules, there is and exception.
In the "Try It out" on page 345 step 6, It shows the call to the HelloWorld method in NameService. Why is there no error in this call when you specify two arguments (yourName, HelloWorldCallback) and the method only defines one? On page 347 it explains that HelloWorldCallback isn't actuall an argument, it is another method that is responsible for handling the response when it comes back from the service. Well, how can you tell by looking at a method call if you passing arugments or referencing another method? How would you even know that the two other methods even exist so that you can handle the two Callbacks???


Last edited by ChuckASP; April 1st, 2010 at 11:33 AM.. Reason: No answers
  #2 (permalink)  
Old April 2nd, 2010, 03:39 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

For some reason, this thread has cloned itself, so in case anyone is interested in an answer: Chapter 10 -Function question restated


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10, listing 10-10-app kiwibrit BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 2 August 18th, 2009 04:21 AM
Chap 9 HelloWorld Plug problems. chucknb28409 BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 2 June 26th, 2009 07:33 PM
Chapter 10 JimSchubert BOOK: Ruby on Rails for Microsoft Developers 1 May 17th, 2009 11:35 PM
problem in helloworld progarmme in chapt 18 clnbabu BOOK Beginning Linux Programming, 3rd Edition 0 August 25th, 2007 03:54 AM
Chapter 10 gogeo BOOK: Beginning Access 2003 VBA 1 January 22nd, 2006 09:41 AM

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