I saw a line in C# codes:
Image = new BitmapImage(
new Uri("/MyProgramName;component/Images/a.png", UriKind.Relative));
What does that ";" do in this Uri string?
That a.png is actually under MyProgramName/Images/a.png.
I saw a line in C# codes:
Image = new BitmapImage(
new Uri("/MyProgramName;component/Images/a.png", UriKind.Relative));
What does that ";" do in this Uri string?
That a.png is actually under MyProgramName/Images/a.png.
It is just a delimeter for one of the variations of WPF Resource URIs. Semicolon does not hold any specific universal meaning for all URIs.