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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to: use argument or variable as object type 1

Status
Not open for further replies.

troelssmit

Programmer
Oct 20, 2004
12
DK
Hi,

If I have a variable:
string aString = "Point";

how can I then do something like this object declaration:
aString myObject;

Thanks a lot in advance :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top