 |
BOOK: Beginning Visual C#  | This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning Visual C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

October 22nd, 2008, 08:25 AM
|
|
Registered User
|
|
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Arrays
Guys please help me , i can't really find the simplest method on how to call for a function
|
|

October 23rd, 2008, 07:34 AM
|
|
Friend of Wrox
|
|
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
|
|
We need more information on what you are trying to do. If you are trying to call a method within some class, the sequence is:
1) Create an instance of the object:
clsMyClass myObject = new clsMyClass();
The program now has an object named myObject that you can use in the program.
2) Call the method that is defined within the class. For example, if your function returns an int and the method is named unitsSold(), then:
clsMyClass myObject = new clsMyClass();
int sales;
sales = myObject.unitsSold();
The variable sales would now hold the units sold as determined by the unitsSold() method.
I'm only guessing that this is what you're trying to ask.
Dr. Purdum
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
|
|

October 23rd, 2008, 04:52 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
|
|
Because he posted in the "Array" category, I was wondering if he wanted an example of how to call a function and pass an array as an argument.
But yes, who knows, from that too-short statement.
|
|

October 23rd, 2008, 05:00 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
|
|
Yep, you're probably right. I'll wait to see if he supplies additional information.
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
|
|

August 30th, 2010, 06:48 AM
|
|
Authorized User
|
|
Join Date: Aug 2010
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
thanks
thanks for sharing information
__________________
free web directory :yourowndir.com
seo service india : sbglobal.info
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Help With Arrays |
Crippy |
Ruby |
2 |
March 6th, 2013 05:59 PM |
| arrays |
ozPATT |
Excel VBA |
2 |
November 4th, 2005 06:11 AM |
| Multidemmesional Arrays OR arrays |
gmoney060 |
Classic ASP Basics |
3 |
November 1st, 2004 03:42 PM |
| Arrays |
tajin |
Excel VBA |
0 |
June 20th, 2004 09:07 AM |
|
 |