Home / DeveloperSection / Interviews / What is function Overloading in C#?
You haven’t finished your post yet. Are you sure you want to leave and discard your draft?
Can you answer this question?
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{ classProgram { staticvoid Main(string[] args) { } } publicclassAccount { publicvoid Account() { } publicvoid Account(String Name) { } } }
You have need login or register for voting of answers or question.
Manish Kumar
07-May-2017Function overloading allows multiple function with the same name. But the signatures of each function should vary.
For example