What Is interface & Delegates I need perfect explantion and example from C# corner
Oops
Hi All
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sunny SharmaRank #223 · 11.1K reputationPosted Aug 9, 2013, 2:37 AM EDT
find them here on C# Corner:
Delegates in C#
http://www.c-sharpcorner.com/UploadFile/Ashush/delegates-in-C-Sharp/
Inteface in C#
http://www.c-sharpcorner.com/UploadFile/3d39b4/interface-in-C-Sharp-part-1/
http://www.c-sharpcorner.com/UploadFile/3d39b4/interface-in-C-Sharp-part-2/
Explained very nicely.
Happy Learning :)
om prakashRank #5,816 · 285 reputationPosted Aug 9, 2013, 4:33 AM EDT
Sunny SharmaRank #223 · 11.1K reputationPosted Aug 9, 2013, 8:52 PM EDT
I think you haven't practiced on the basics yet. A class and a Windows Form application are quite different things. A class is an architecture where you declare what has to be inside a class. See the example below:
-------------------------------------
class StudemtDetails{
public string Name{get;set;}
public int RollNo{get;set;}
public string Address{get;set;}
}
-------------------------------------
This is an architecture which you're going to implement in your application whether it a Windows Form Application or it's Web Application or any kind of that. You create objects of this class in your application and utilize it for your purposes.
Hope you understand what I mean. Please refer to the C# Programming Basics if you're still not clear.
Hope it helps :)
om prakashRank #5,816 · 285 reputationPosted Aug 11, 2013, 7:52 PM EDT
Sunny SharmaRank #223 · 11.1K reputationPosted Aug 11, 2013, 8:38 PM EDT
Happy Learning.