Posts

Showing posts with the label OOPS/C#

OOPS/C#

Image
Interview question https://www.wisdomjobs.com/e-university/advanced-c-hash-interview-questions.html https://www.guru99.com/c-sharp-interview-questions.html Best concepts c# https://www.geeksforgeeks.org/private-constructors-in-c-sharp/ https://www.completecsharptutorial.com/basic/referencetype-parameter.php Difference between Abstract Class and Interface ABSTRACT CLASS INTERFACE It contains both declaration and definition part. It contains only a declaration part. Multiple inheritance is not achieved by abstract class. Multiple inheritance is achieved by interface. It contain  constructor . It does not contain  constructor . It can contain static members. It does not contain static members. It can contain different types of access modifiers like public, private, protected etc. It only contains public access modifier because everything in the interface is public. The performance of an abstract class is fast. The performance of interface is slow becau...