
What is the difference between abstract class and interface in CSharp? DotNet C# Question 62 of 100
145
2________
DotNet Interview Question 62 of 100:
What is the difference between an abstract class and an interface in CSharp?
Answer: An abstract class can provide complete, default code and/or just the details that have to be overridden. An interface, by contrast, is a contract that contains only the signatures of methods, properties, events or indexers.
コメント