Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > BOOK: Beginning Visual C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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 . . .
?
Reply With Quote
  #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

Reply With Quote
  #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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.