what is exact use of interface?

Posted by Krishnamanohar under C# on 4/22/2013 | Points: 10 | Views : 1816 | Status : [Member] | Replies : 3
Hi Experts,
what is the exact use of interface not the definition if answer like this"interfaces provide control over the classes"
how can we provide control over the classes?
give me 3 or 4 real time examples of inteefaces ?
we can do same things with normal methods also ? so why we can go for interfaces?
Thanks in Advance
Krish




Responses

Posted by: Satyapriyanayak on: 4/22/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://msdn.microsoft.com/en-in/library/3b5b8ezk%28v=vs.71%29.aspx
http://www.dotnetperls.com/interface
http://dotnet.dzone.com/articles/c-interfaces-what-are-they-and
http://www.codeproject.com/Articles/18743/Interfaces-in-C-For-Beginners

If this post helps you mark it as answer
Thanks

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

Posted by: Niladri.Biswas on: 5/2/2013 [Member] Platinum | Points: 25

Up
0
Down
http://dotnet.dzone.com/articles/c-interfaces-what-are-they-and

http://www.daniweb.com/software-development/csharp/threads/114364/why-use-interfaces

http://msdn.microsoft.com/en-IN/library/64syzecx(v=vs.80).aspx

https://www.simple-talk.com/dotnet/.net-framework/designing-c-software-with-interfaces/

Best Regards,
Niladri Biswas

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

Posted by: Learningtorise on: 5/3/2013 [Member] Starter | Points: 25

Up
0
Down
http://msdn.microsoft.com/en-in/library/3b5b8ezk%28v=vs.71%29.aspx
http://www.dotnetperls.com/interface
http://dotnet.dzone.com/articles/c-interfaces-what-are-they-and
http://www.codeproject.com/Articles/18743/Interfaces-in-C-For-Beginners

http://hashtagakash.wordpress.com/

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

Login to post response