Can you drink alcohol with a loop recorder?
No Answer is Posted For this Question
Be the First to Post Answer
How do you pronounce c#?
Can a class be private in c#?
Can overrride the Main method
What is string method in c#?
What are the three types of predicates?
Enlist all the components of an ado.net framework?
Can properties be static in c#?
What are the properties of c#?
Can you create an instance of a static class?
What is serialization in c#?
What is difference between a function and a method?
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!