how to call constructor in abstract class
Answers were Sorted based on User's Feedback
Answer / maniekb
you can't.
constructor is used
to build object,
abstract class cannot
have objects because
is abstract...
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / rizwan
As abstract class is mainly used in inheritance, you can
derive abstract class and then by creating object of derived
class, you can call base class constructor, which is
abstract class. Another way to call constructor of an
abstract class is to make that constructor as static.
| Is This Answer Correct ? | 1 Yes | 0 No |
We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window that is working fine in IE6 but with IE7 it opens a new Window and Data is not getting poputaled.In some pages it Gives an error "The webpage you are viewing is trying to Close the window.Do you want to close this window".
Clear property is available in which control?
how to call constructor in abstract class
Where to use new keyword other than create instance?
What are different authentication types. How do you retrieve user id in case of windows authentication?
what are events?
What is boxing and how it is done internally?
what are the types of combo box?
Is it possible to save view state on the web server?
How many nuber of controls are there in form?
Are windows forms still used?
Explain how to split a column header in gridview using c#.net?