Function ConvertEXIFtoString(ByVal arrValue As Array ,Byval intType As integer) As String;
 Dim ubtStr integer;
 Select Case intType;
   Case 2
     for Each intStr In arrValue
       if intStr<>0 then 
         ConvetEXIFtoString=ConvetEXIFtoString & Char(intStr);
     Next
 end Select
End Function

解决方案 »

  1.   

    string ConvertEXIFtoString(int[] arrValue,int intType)
    {
       string retStr="";
       int ubStr;
       Switch(intType)
       {
         Case 2:
          foreach(int i in arrValue )
          {
            if(intStr!=0)
             {
               retStr=retStr+Convert.ToChar(i);
              }
           }
        }
        return retStr;
    }
    注意大小写,只是示例
      

  2.   

    string ConvertEXIFtoString(Array arrValue,int intType)
    {
      int ubtStr = 0;
      String result = "";
      switch intType
      {
        case 2:
         foreach(intStr in arrValue)
         {
           if( intStr != 0)
              result = result + intStr.ToString());
         }
        break;
      }
      return result;
    }