Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual C# 2005
This is the forum to discuss the Wrox book Beginning Visual C# 2005 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White; ISBN: 9780764578472
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2005 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 October 15th, 2006, 06:24 AM
Registered User
 
Join Date: Oct 2006
Location: Delft, , Netherlands.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 9 Class definitions

On page 206:
By default, classes are declared as internal, meaning . . .
shouldn't it be:
By default, classes are declared as private, meaning . . .
?
  #2 (permalink)  
Old October 15th, 2006, 04:04 PM
Registered User
 
Join Date: Jun 2006
Location: Amsterdam, Noord-Holland, Netherlands.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI Havadema,
Internal is not the same as private. Internal is an access modifier unique to .NET (as far as I know). (I think) You can not use the private access modifier in classes unless they are types within a class.
Internal however refers to classes that are only accessable to other classes within the same assembly and not the entire programme.

Regards,
A. Madkour

  #3 (permalink)  
Old October 19th, 2006, 07:00 AM
Registered User
 
Join Date: Oct 2006
Location: Delft, , Netherlands.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Madkour,
Thank you for your remarks, I had something mixed up, class-methods are by default private, but classes are different stuff. So probably you are right.
Thanks,
Regards, hevadema.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Collection Class chapter 5 eggspencer BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 November 27th, 2006 04:46 PM
Need simple definitions tomgrady Beginning VB 6 1 January 3rd, 2006 06:22 PM
field definitions fbobak Access 1 September 22nd, 2004 09:32 PM
OnMouseOut for definitions of names. Possible? gilgalbiblewheel Java Databases 1 September 18th, 2004 02:00 PM
Chapter 5, Exercise 2, Class Problems nmstudent BOOK: Beginning Java 2 1 December 12th, 2003 07:08 PM





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