Saineshwar Bageri

Saineshwar Bageri

  • 83
  • 23.5k
  • 23.9m

I have 2 methods with the same name, Tover(string a, int b)

May 20 2014 10:49 AM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Generics
{
public class TestOverloading
{
public void Tover(string a, int b)
{

}

public void Tover(int a, string b)
{

}

static void Main(string[] args)
{
TestOverloading tx = new TestOverloading();
}
}
}
 I have 2 methods with the same name, Tover(string a, int b) and another method Tover(int a, string b). Are these methods doing method overloading or not ?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Answers (1)