look sir;
class
List
is a templated class once you use it you should provide a type argument like:
protected List<byte> AddedControls
{
get
{
if (Session["AddedControls"] == null)
Session["AddedControls"] = new List<byte>();
return (List<byte>)Session["AddedControls"];
}
set
{
Session["AddedControls"] = value;
}
}