adspace


Difference between class and interface in .net?

Answer Posted / Saran Kumar Kashyap

A class represents a blueprint for creating objects, defining their properties, methods, and behaviors. An interface is a collection of abstract methods and properties that a class must implement to comply with the interface contract. In .NET, classes can inherit from multiple base classes but can only implement one interface at a time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141