function STR_DisplayRawStringHZ(Value: string): string;
var
   i: Integer;
begin
  Result:='';
  for i:=1 to Length(Value) do begin
      if Value[i]>=#$20 then begin
         Result:=Result+Value[i];
      end else begin
         Result:=Result+'$'+Format('%2.2X',[Byte(Value[i])]);
      end;
  end;
end;其中#$20 和 format('%2.2X',[Byte(value[i])]) 分别是什么意思
  还有就是format('%2.2X',[Byte(value[i])]) 用c#该怎么写