---
title: "What is function Overloading in C#?"  
description: "What is function Overloading in C#?"  
author: "Manish Kumar"  
published: 2017-05-07  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/23239/what-is-function-overloading-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is function Overloading in C#?

Function overloading allows multiple function with the same name. But the signatures of each function should vary.

## For example

```
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication1{   
class Program   
{       
static void Main(string[] args)       
{          
         
       
}   
}    
public class Account   
{       
public void Account()       
{        
}       
public void Account(String Name)       
{        
}   
} }
```

\

## Answers

### Answer by Manish Kumar

Function overloading allows multiple function with the same name. But the signatures of each function should vary.

## For example

```
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication1{   
class Program   
{       
static void Main(string[] args)       
{          
         
       
}   
}    
public class Account   
{       
public void Account()       
{        
}       
public void Account(String Name)       
{        
}   
} }
```

\


---

Original Source: https://www.mindstick.com/interview/23239/what-is-function-overloading-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
