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.
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)...