Sign in to follow this  
themagicalrock

C# Methods help

Recommended Posts

Alright, I dont normally come on forums for help like this, I either try to find it in a book, or find it online. Unfortunatly, when i search google, I never find a sufficient deffinition or example. The books really havent been able to explain the concept of methods to me. May I please have some help learning what a method is or does?

Share this post


Link to post
Share on other sites
A method is a snippet of code. You invoke methods, which then begins executing the code in sequence with the specified parameters (if any) and returns a value (if any). Executing a program does the same thing, only it invokes a special method ("Main" in C#) which in turn will usually invoke others and so on.

Share this post


Link to post
Share on other sites
I just typed "C# Methods" into Google and this was the first hit - it seems to explain Methods pretty well.

If you still don't understand them after reading the above let me know and I'll try explaining it.

James

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this