What is field in c#?
No Answer is Posted For this Question
Be the First to Post Answer
When was c# created?
What is arraylist c#?
Why interface is required?
What is data quality assurance?
explain the nature of the assembly work?
How does the clr work?
What is the difference between method and constructor in c#?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Illustrate serialization?
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?
How do you concatenate in 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!