I have a method group that contains elements such as:
class Foobar
{
public static DataSet C(out string SpName)
{
SpName = "p_C";
return null;
}
public static DataSet C()
{
string SpName;
C(out SpName);
return DataAccess.CallSp( SpName);
}
}
And what I want to do is
ButtonC.Text = DataAccess.GetSpName(**?????** Foobar.C )
where I want to do this action:
public string GetSpName(**(?????)** method)
{
string spName = string.Empty;
method(out spName);
return spName;
}
I have tried various items as ????? without success. I'm missing some fine point :-(