Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Can Non-Default constructors be used with Single Call SAO?
.NET INTERVIEW QUESTIONS - Can Non-Default constructors be used with Single Call SAO?
✍: Guest
Non-Default constructors can not be used with single call objects as object is created with every method call, there is no way to define Non-default constructors in method
calls.
It is possible to use Non-Default constructor with Client activated objects as both methods :-
“NEW” keyword and “Activator.CreateInstance” provide a way to specify Non-Default constructors.
2009-09-01, 4268👍, 0💬
Popular Posts:
Can you explain what is “AutoPostBack” feature in ASP.NET ? If we want the control to automatically ...
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...
When should the register modifier be used? Does it really help? The register modifier hints to the c...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...