public static byte[] aa()
{
//dddd
}

解决方案 »

  1.   

    public static int[] Fun()
    {
    int[] A=new int[3];  
    return A;
    }
      

  2.   

    public static string shangchuan(System.Web.UI.HtmlControls.HtmlInputFile file1,string path,bool openPic){
    string[] array=new string[5];
    HttpPostedFile postedfile=file1.PostedFile;
    //得到客户端的路径
    string filePath=postedfile.FileName;
    //真实的文件名
    string fileName=System.IO.Path.GetFileName(filePath);
    //获得扩展名
    string extName=System.IO.Path.GetExtension(filePath);
    //根据当前服务器的系统时间来命名
    string name=DateTime.Now.ToString("yyyymmddhhmmss")+extName;
    //保存到服务器端

    if(openPic==false)
    {
    postedfile.SaveAs(HttpContext.Current.Server.MapPath(".")+path+name);
    return array.SetValue(name,0);
    }
    }抱错啊
      

  3.   

    用 ArrayList呢
    返回 ArrayList 不就行了吗