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 December 30th, 2009, 11:13 AM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiler errors - Example on pg. 347-349

Hello everyone, and Happy New Year .

I tried out the example Named Ch12Ex03 from Pages 347-349, dealing with
using Generic Delegates, and i got 2 compiling errors :

Inconsistent accessibility: base class 'System.Collections.Generic.List<Ch12Ex03.Vector>' is less accessible than class 'Ch12Ex03.Vectors'

for the line : public class Vectors : List<Vector>

and ...

Inconsistent accessibility: parameter type 'System.Collections.Generic.IEnumerable<Ch12Ex03.V ector>' is less accessible than method 'Ch12Ex03.Vectors.Vectors(System.Collections.Gener ic.IEnumerable<Ch12Ex03.Vector>)'

for the line : public Vectors(IEnumerable<Vector> initialItems)


Please help me figure out what is wrong. Thanks.
 
Old December 31st, 2009, 02:00 PM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Never mind, I figured it out by myself...

I accidently omitted the keyword Public in the Vector Class decleration . I would like to thank me,myself and I for the Help.

Well... Like in real life, we Israelies have to do everything by ourselves, while others ignore...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 11, Favorites Viewer pp 347-365 corncrake BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 June 24th, 2008 05:13 AM
Can't get errors to display with <html:errors> michaeldill JSP Basics 0 August 2nd, 2004 01:47 PM
For all who need a C/C++ compiler... Ammiel C++ Programming 1 July 17th, 2003 01:42 PM
Errors Errors DB Errors Ljhopkins VS.NET 2002/2003 0 July 15th, 2003 12:42 PM





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