1
Reply

Interface declaration

Rajakulai Setty

Rajakulai Setty

May 12 2015 3:23 AM
425

Hi All,

I need some general clarification regarding Interface template, like below

 public interface ISomeInterface 
{ 
    string Id { get; set; } 
    string Name { get; set; } 
    ISomeInterface WorkerInstance(); 
}

In the above code they used method return type as interface in same interface declaration. Am not sure why they coded like this. Please share your comments


Answers (1)