When do we declare a class as abstract in C#.NET?

When do we declare a class as abstract in C#.NET?

- When at least one of the methods in the class is abstract then we declare a class as abstract in C#.NET.
- The abstract keyword enables to create classes and members that must be implemented in a derived class.
- The abstract class cannot be instantiated because it is used to provide a common definition of a base class that multiple derived classes can share.
How can you overload a method? - C#.NET
C#.NET - How can you overload a method? - Different parameter data types, different number of parameters, different order of parameters...
C#.NET Difference between System.String and System.StringBuilder classes
C#.NET - System.String and System.StringBuilder classes...
Test cases in unit testing - C#.NET
C#.NET - What are three test cases you should go through in unit testing? - Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling)...
Post your comment