Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Function without Declaration? 1

Status
Not open for further replies.

Qik3Coder

Programmer
Jan 4, 2006
1,487
0
0
US
How do i create a function so that i can replicate the following behavior?

Code:
Debug.Write(System.DateTime.Now)

I want to returning a value from a function, without creating an instance of the class that contains the function.

I am waiting for someone to tell me that there is an instance of the System object, called "System" and i am actually referencing a method of the object."

Thanks,

-The answer to your problem may not be the answer to your question.
 
That's a star worthy response!

-The answer to your problem may not be the answer to your question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top