I have a method with an out parameter that tries to do a type conversion. Basically:
public void GetParameterValue(out object destination) { object param
//**The working answer** //**based on your discussion eheheheheeh** public void s(out T varName) { if (typeof (T) == typeof(HtmlTable)) { ////////// } } protected void Page_Load(object sender, EventArgs e) { HtmlTable obj=null ; s(out obj); }