Interface declaration

May 12 2015 3:23 AM

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)