More about Classes and Methods - 15
- Posted: Nov 21, 2011 at 9:27 AM
- 20,177 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In this lesson we dig into more details about Classes -- what exactly happens when you create a new instance of a class? What exactly is a reference to an instance of a class? How is it affected when you pass the reference to a method? We also review overloaded methods, talk about static versus instance methods, constructors and more.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
I have tried this lesson and all went well until designing the second "New" method (with the byVal after the "New(...)"... I went back to the module window and typed Dim myOtherCar as New Car... but no drop down box came up to show me that there is more than one thing I can do...when I typed the
Dim myOtherCar As New Car( ...the intellisense does not show me more than one choice...it pops up "New()"...and I'm dead in the water...Am I doing something wrong...or is my visual Basic Express set up wrong? Thanks
@JPSkyPilot:Got it...had something wrong in the second "New" method...sorry
Remove this comment
Remove this thread
close