Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Content Obsolete

This content is no longer current. We recommend you try the following url for more up to date content: http://channel9.msdn.com/Series/Visual-Basic-Fundamentals-for-Absolute-Beginners

More about Classes and Methods - 15

Download

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.

Download the source code for More about Classes and Methods

Tag:

Follow the Discussion

  • 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

Comments Closed

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.