要存入profile的类:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;/// <summary>
/// Man 的摘要说明
/// </summary>
namespace Test
{
public class Man
{
    private System.Collections.Generic.Dictionary<string,int> prant = new System.Collections.Generic.Dictionary<string,int>();
public Man()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
    public void Add(int o)
    {
        prant.Add( o);
    }
    public System.Collections.Generic.ICollection<int> Parent
    {
        get
        {
            return this.prant.Values;
        }
    }
    public int count
    {
        get
        {
            return prant.Count;
        }
    }
   
}
}
web.config:
 <profile>
      <properties>
                <add name="ShoppingCart" type="Test.Man" allowAnonymous="true"/>
              </properties>
    </profile>存:
 Profile.ShoppingCart.Add(DateTime.Now.Second);
取:
 Response.Write(Profile.ShoppingCart.Count.ToString());
怎么取都是0,怎么回事啊?