Why is it not possible to declare an operator override in an interface?

Back to Questions

An operator override is a static method in C#, and interfaces don't allow static methods - they are implementation details.


An operator override is a non static methods in c#,and interface don't allow not static methods


option A & option B


Author Explanation :

In c# operator override is a static methods.and interface class does not allow static methods in c#.

Answers Posted

PostedBy By: Abdul Samad Qureshi, at 02:53 PM on 27-March-2019

Answer Posted:

Explanation: I guess so

Result: Wrong Answer

Back to Questions

© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
Bestdotnet google plus
Enquiry Now