Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Beginning Visual C# 2010
|
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 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 June 13th, 2012, 01:35 PM
Authorized User
 
Join Date: Jan 2011
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 11, Exercise 3 GetOldest() Method

I am having problem tsting the method. I m getting an InvalidCastException when I try to use the author's solution.

My question is why do we use DictionaryEntry at the end to copy the contents from oldestPeople to oldestPeopleArray when we had already cast the DictionaryEntry struct into a Person object when we added it to the oldPeople object?





Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 11 exercise 1(page401) stram BOOK: Beginning ASP.NET 4 : in C# and VB 13 December 28th, 2011 12:30 AM
Chapter 11 - Missing plotResults method??? CzechM8 BOOK: Professional iPhone and iPad Database Application Programming 1 July 1st, 2011 06:10 PM
JQuery Troubles- Chapter 11, Exercise 1 Princess Rose BOOK: Beginning ASP.NET 4 : in C# and VB 6 May 3rd, 2010 05:35 PM
Chapter 11 Exercise - IE6 Margins discgolfer BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 4 January 23rd, 2006 01:05 PM





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