http://www.dreamincode.net/forums/xml.php?showuser=335389
I'd like to save that XML response to a string variable in my class. Is this possible?
namespace SharpDream.Api.Users.Sources
{
internal class TestSource : IUserInformationSource
{
public string GetInformationSource(int forumUserId)
{
return @"save things";
}
}
}
I seem to remember being able to save string literals, but I do not remember how.
To clarify: I do not want to download the string, I want to copy paste the response to a variable. This concrete implementation is for testing purposes when the internet isn't working or whatnot.