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
The best way I could suggest you is replace all the parameters with an Object. All these parameters would represent some info with which you want to update your data base
class UpdateInfo
{
public string ac {get; set;}
public string pr {get; set;}
public string fld {get; set;}
.
.
.
}
All your validation logic for the each parameter could also go in here.
public void Update(UpdateInfo obj)
{
.
.
}