Support Forums

Full Version: method
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anyone explain me why we required method to be used in vb.net. what is the advantage. thanks
what do you mean.

it would be great if you could explain a little more of what you are asking.
I don't understand either.What you mean by method?
(07-06-2010, 04:46 PM)BRSteven Wrote: [ -> ]I don't understand either.What you mean by method?

class, method etc.,
Explain better man in order to help you
Here is some help: http://www.startvbdotnet.com/language/methods.aspx
Try searching google. It helps. Anyway, here is the advantage of methods:
In your applications you might need to use the same piece of code many times. So, without methods you would need to copy-paste this piece of code, making your source huge and full of crap. However, with methods you can just add this code in a function or a sub and call it with a single line of code.