What is yield keyword?
No Answer is Posted For this Question
Be the First to Post Answer
how to prevent a class from being inherited in c#.net?
what is class libraries?
What is iqueryable in c#?
how to handle errors in sqlserver
Can abstract classes be final?
What are abstract classes in c#?
Ho we can see assembly information?
What is using directive in c#?
Is nullable type c#?
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!
Can a dictionary have the same key?
Name some properties of array.