Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4
This is the forum to discuss the Wrox book Beginning Microsoft Visual C# 2008 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White; ISBN: 9780470191354
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 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 January 6th, 2010, 03:05 PM
Registered User
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Chapter 12, Exercise 5 Answer

Hello,

I cannot get my head around the answer to Exercise 5 at the end of Chapter 12. When I use the code given in the answers document, i get the following error:

Error 1 'Ch11Task05_2.ShortCollection<T>' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'Ch11Task05_2.ShortCollection<T>.GetEnumerator()' cannot implement 'System.Collections.IEnumerable.GetEnumerator()' because it does not have the matching return type of 'System.Collections.IEnumerator'.

Any ideas?

Cheers,

NB
 
Old January 6th, 2010, 03:17 PM
Registered User
 
Join Date: Dec 2009
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via Yahoo to jawadh_khan786
Thumbs up Download the source code

Hello

Wrox is providing the code for the exercises of all chapters
you can have it from here
http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html
 
Old January 6th, 2010, 03:32 PM
Registered User
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey,
thanks for the reply....

The code provided by wrox is the code i've been trying to compile and getting that error...

NB
 
Old June 5th, 2010, 02:33 PM
Authorized User
 
Join Date: Mar 2010
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi all,

I get the same issue.
The answer supplied for exercice 5 is incorrect.

Has anyone found out what is wrong?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong answer to Exercise 4 in Chapter3 lvehe BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 3 May 23rd, 2010 01:17 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM





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