why is var sydney = new Countries() { Name = @"<Image Source="Coors.jpeg" /> Sydney" };
flagging at the Coors.jpeg with syntax error, comma expected.
why is var sydney = new Countries() { Name = @"<Image Source="Coors.jpeg" /> Sydney" };
flagging at the Coors.jpeg with syntax error, comma expected.
As I said in my comment when using verbatim string you need to double the double quotes. ie:
var sydney = new Countries() { Name = @"<Image Source=""Coors.jpeg"" /> Sydney" };