?
Base baseClass;
baseClass.CalculateTotalPriceInCart(Request.QueryString["PartNumber"], Request.QueryString["Description"], Session["OSFOID"], true);
.
, :
public void CalculateTotalPriceInCart(string PartNumber, string Description, IEnumerable<dynamic> OrderId, bool IsBoxed)
PartNumber Description , , true bool, , IEnumerable<dynamic>, OrderId.
, Session["OSFOID"] - , . , ,
CalculateTotalPriceInCart(Request.QueryString["PartNumber"], Request.QueryString["Description"], ((IEnumerable<string>)Session["OSFOID"]).FirstOrDefault(), true);
, , , , .
, , , . , , , , , , -, shold ?
This also does not work in a desktop application, you simply cannot define it varas a parameter type. The closest you can get is dynamicthat Intellisense will not give you (since the compiler does not know what the type is), but it will allow you to pass a type unknown to the compiler and use it (provided that you know what the actual a type)