String Insert(Int,String); 
        string.str="This is a girl"; 
        str = str.Insert(10,beautiful); 
        
        Response.Write(str.Tostring()+" <br>"); 
显示第一行错误!

解决方案 »

  1.   

    String Insert(Int,String); 
     当然错了 public String Insert(Int,String)
    {
      string.str="This is a girl"; 
            str = str.Insert(10,beautiful);         
            Response.Write(str.Tostring()+" <br>"); 
    }
      

  2.   

    str = str.Insert(str.IndexOf("aa"), "abc");
      

  3.   

    访问我的博客 程序员日记 http://www.ideaext.com
      

  4.   

    string str="This is a girl"; 
            str = str.Insert(10,"beautiful");         
            Response.Write(str.Tostring()+" <br>");