Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted
Nope, sorry.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Posted
I have heard that using With...End With, the framework will only create the instance of object only once within the With statement. A lot of people recommended to use With...End With.
Don't judge a man by his look. Don't judge a book by its cover. :D
  • *Experts*
Posted

Yes, this is true. It will save time and resources by loading the

object just once, especially if you are setting and accessing

multiple properties. This was also true of VB6. Unfortunately, this

is one mighty handy feature that C# lacks.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • *Experts*
Posted

Since C# is based on C++, if C++ had the statement then C#

definitely would. So again, the answer's no.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Posted

So, is there any way to reduce resources by loading the

object just once in c++? :) Just answer YES or NO would appreciated, cos i have learnt only 1/10 of c++.

Don't judge a man by his look. Don't judge a book by its cover. :D
  • *Experts*
Posted

As far as I know, no. But if anyone can disprove me, please go

right ahead.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...