You do not need to declare an instance of the object "cart" because all its methods are static and uses the provider that can be the default or your.
The provider by default uses the ASP sessions to store items, if you want to use a different method, for example store information in database or other we must create another provider inheriting from "cartprovider"Marc