1
Reply

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

Saineshwar Bageri

Saineshwar Bageri

May 20 2014 10:49 AM
792
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)