G
Guest
hi
My question might be a simple questions. I am doing C# maintanance project
I have seen so many places Interface is used in my main class. But I could't not understan
what is the use of Interface. Because Interface having only the Property and method
declaration only. Why we have to use that instead of writing directly in the main class?
1. What is the advatage of use of Interface (or disadvantage) instead of writing property and
method directly
2. When we have to use Abstract class and when we have to use Interface
Is there is any site which is explaining about the difference and usage?? Please let me kno
thank
Kanna
My question might be a simple questions. I am doing C# maintanance project
I have seen so many places Interface is used in my main class. But I could't not understan
what is the use of Interface. Because Interface having only the Property and method
declaration only. Why we have to use that instead of writing directly in the main class?
1. What is the advatage of use of Interface (or disadvantage) instead of writing property and
method directly
2. When we have to use Abstract class and when we have to use Interface
Is there is any site which is explaining about the difference and usage?? Please let me kno
thank
Kanna