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, 4468👍, 0💬
Popular Posts:
How can method defined in multiple base classes with same name be invoked from derived class simulta...
What is the benefit of using #define to declare a constant? Using the #define method of declaring a ...
How to convert a Unix timestamp to a Win32 FILETIME or SYSTEMTIME? The following function converts a...
What is a delegate ? Delegate is a class that can hold a reference to a method or a function. Delega...
How To Use an Array as a Queue? - PHP Script Tips - PHP Built-in Functions for Arrays A queue is a s...