What is difference between method overriding and method overloading?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is a delegate in c#?

0 Answers  


What is dapper in c#?

0 Answers  


What is the property of a class in c#?

0 Answers  


Can we have two main methods in c#?

0 Answers  


What is inner class in c#?

0 Answers  






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!

1 Answers   HCL,


What does mean before a string in c#?

0 Answers  


How many digits are in an integer?

0 Answers  


Why do we need a finally block in try catch block while handling exceptions

4 Answers   IBM,


Does c# have a 'throws' clause?

0 Answers  


what is the purpose of Interfaces?

7 Answers   HCL,


Define the term immutable ?

0 Answers   Siebel,


Categories