Is string passed by reference in c#?
No Answer is Posted For this Question
Be the First to Post Answer
Which language is used for desktop application?
What is serialization of data?
How C# 4.0 supports dynamic programming language?
How long does it take to learn c# programming?
Why we use oops in c#?
What is desktop GUI application?
How do you serialize in c#?
How can you overload a method?
What does using system mean in c#?
Define clr in .net?
What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!
Why abstraction is used in c#?