---
title: "What is Method Overloading?"  
description: "What is Method Overloading?"  
author: "Anonymous User"  
published: 2010-10-16  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/32/what-is-method-overloading  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is Method Overloading?

Method overloading means having two or more methods with the same name but different signatures in the same scope. Compiler automatically select the most appropriate method based on the parameter supplied.\
\

```
public class multiplynumber{public int multiply(int x, int y){return x * y;}public int multiply(int x, int y, int z){return x*y*z;} }
```

## Answers

### Answer by Pushpendra Singh

Method overloading means having two or more methods with the same name but different signatures in the same scope. Compiler automatically select the most appropriate method based on the parameter supplied.\
\

```
public class multiplynumber{public int multiply(int x, int y){return x * y;}public int multiply(int x, int y, int z){return x*y*z;} }
```


---

Original Source: https://www.mindstick.com/interview/32/what-is-method-overloading

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
