In general, everything is simple: enter image description here

Where do they come from and why?

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace testSymbol { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { string s = "‪D:\\VKR\\SiteParser\\SiteParser\\bin\\Debug\\‪tes.jpeg"; var t = 0; } } } 

I download the file like this

 wc.DownloadFile ( new Uri("https://mysite.ru" + imagePath),"tes.jpeg" ); 

enter image description here

  • problem in the line - Grundy
  • As soon as I have not tried, and with @ and with the right slash - Fiki Free
  • s.Length out s.Length . There are two extra characters in it, exactly they go to ? . Where do you get this line? Try not to copy it from somewhere and insert it, but type manually - and there will be no error. - Grundy
  • The fact is that I download the file (code), but then when I upload this file to xamarin, it does not see it, because there is hidden there? , and if I rename it with the same name, then everything is fine - Fiki Free
  • The line given in the question is already wrong . string s = "‪D:\\VKR\\SiteParser\\SiteParser\\bin\\Debug\\‪tes.jpeg"; there are already hidden characters in the line. Simply they are whitespace and not displayed, but they are. - Grundy

0