In C#, default interface methods are declared by providing a method body directly inside the interface without the 'default' keyword.
Step 2: Analyze each option
interface IExample { void Show() => Console.WriteLine("Hello"); } correctly uses the expression-bodied method syntax inside the interface. interface IExample { default void Show() { Console.WriteLine("Hello"); } } incorrectly uses 'default' keyword which is not valid. interface IExample { void Show(); default { Console.WriteLine("Hello"); } } tries to separate declaration and body incorrectly. interface IExample { void Show() { Console.WriteLine("Hello"); } } attempts to define a method with a block body but without a semicolon, which is invalid in interfaces.
Final Answer:
Option A -> Option A
Quick Check:
Default interface methods require method body without 'default' keyword [OK]
Quick Trick:Default methods have bodies directly in interface [OK]
Common Mistakes:
MISTAKES
Using 'default' keyword before method
Trying to define method body without expression syntax
Omitting method body in default method
Master "Interfaces" in C Sharp (C#)
9 interactive learning modes - each teaches the same concept differently