![]() |
How to Prevent Instantiation with an Abstract Base Class in C Sharp 4.0
Mark your class as abstract.
Code:
public abstract MyClassany default implementation, as shown here: Code:
public abstract MyClass |
| All times are GMT +5.5. The time now is 23:57. |