what is the signature of interface

Posted by Kishore22 under C# on 12/17/2013 | Points: 10 | Views : 731 | Status : [Member] | Replies : 4
what is the signature of interface in c#.net




Responses

Posted by: Bandi on: 12/17/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://stackoverflow.com/questions/6229226/c-sharp-interface-implement-with-different-signature

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 12/17/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
An interface contains only the signatures of methods, properties, events or indexers. A class or struct that implements the interface must implement the members of the interface that are specified in the interface definition.
http://msdn.microsoft.com/en-us/library/87d83y5b.aspx
http://www.dotnetbull.com/2011/11/what-is-interface-in-c-net.html

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/17/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Interface only contains method declaration with no body at all.

Refer:

http://www.dotnet-tricks.com/Tutorial/csharp/5T27291013-A-Deep-Dive-into-C

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/17/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Also refer:-
http://csharp-station.com/Tutorial/CSharp/Lesson13
http://stackoverflow.com/questions/619856/interface-defining-a-constructor-signature
http://www.onlinebuff.com/article_implementing-interface-in-c-with-an-example_18.html

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response