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

Creating and Calling Simple Overloaded Helper Methods - 10

Download

Right click “Save as…”

In this video we begin wading into the topic of methods by creating a helper method to break out code we may need to use in multiple places within our code. We'll create and call our methods to retrieve a value, create and use input parameters, learn about string formatting, and create overloaded versions of our method.

Download the source code for Creating and Calling Simple...

Tag:

Follow the Discussion

  • moezalrysmoezalrys

    welcom

  • Golnazgolnazal HEY HEY HEY

    open thread

  • Thierno KaneThierno Kane

    Hello My name is Thierno Kane, i'm following this video tutorial in vb for absolute... and at moment i'm on lesson 10. As i see in supersecretformula is interessing, but i dont get it well. I mean i want to know more on the features of this structure and also i would like that those tutorial can be followed by a schematique in ms powerpoint, because i'm taking note. I also want to know how to use this structure in windows application form not on console. Thanks

  • @Thierno Kane:

    Hello Golnazal, do you know something about supersecretformula? i tried with msdn researche nothing. I want to use structure in windows form application. I understand the structure in console, but i want to know the feature of it. 

  • At 0:57 in the video I say "The biggest question is 'Why would I ever want to split up my code into multiple methods."  That is the purpose for this video ... to discuss the idea of creating methods of code that can be called / executed elsewhere in code simply by using the name of the method. If you miss that message, then you've missed the point of this video.  Please watch it again.

    @Thierno Kane: This might not seem so obvious at the moment, however if you don't grasp the concept of methods, then you're not ready to learn how to create user interfaces.  I realize you want to get results as quickly as possible, but the user interface?  That's the easy part -- but it's ONLY EASY after you've learned both Angel the Visual Basic syntax, and (b) the .NET Framework Class Library.  That's what this series teaches.  You must crawl before you walk and walk before you run.  You have to get a solid foundation so that what comes after makes sense.  If you skip these vital topics, you will always be confused as to what you need to do next when creating programs. 

    @thiernich: @Thierno Kane: re: "I don't get the supersecretformula ... "  Please understand, this is a fictional example.  This "formula" is just something I made up off the top of my head to illustrate this idea.  In this case, all this "supersecretformula" does is print a line of characters to screen.  If I had been more creative, I could have calculated the radius of a circle or solved world hunger.   Don't worry about what it DOES (because in this particular silly example it does almost nothing meaningful!), pay attention to how to create the methods, how to call them, how to send values to them and return values from them.  That's the point.  Hopefully that helps?

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.