I have a C# method that I would like to use to update some data. The method could be passed either a string, a double, an integer
public void Update(string ac, s
If it can be passed one of those parameters, it doesn't sound like you want a variable number; it sounds like you want three different overloads:
public void Update(string ac, string pr, string fld, Int32 intVal)
{
}
public void Update(string ac, string pr, string fld, double dblVal)
{
}
public void Update(string ac, string pr, string fld, string strVal)
{
}