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.
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.
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++.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.