|
-
Aug 21st, 2012, 06:01 PM
#9
Lively Member
Re: Using New Keyword
when you instantiate something your making a copy.. plain and simple..
no need to over complicate it...
not making a copy in the same sense as a copy command.. nobody is talking about that...
It was an example to illustrate an idea...
If you add something to your solution, it instantiates or makes a copy for you...
If i have two forms in my solution.. I can still create a new instance of another from the first..... assign it a name..
But you dont have to..
I can do form2.show
or dim tot as new form2
tot.show..
When you start programming101 they dont frickin break it down to an atomic level.. and over complicate ****..
You get a general idea for your understanding... Then you get into the inner working...
The best way to understand something is through comparison and through analogies...
if you think you have a better example then by all means... everyone explains thing slightly different..
but nit picking someone elses example isnt helping anything.. especially not the original posters question...
if you dont make a new COPY of form2 you are affecting form2... If you make a copy the original isnt touched...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|