CSharp - What is the output: interface sealed


is the following code having compile time error

using System;

sealed interface IMyInterface

    void Show();
class Program
    static void Main(string[] args)
        //some code

Click to view the answer

Compile time error


If you make the interface sealed, who can implement the interface?

Related Quiz