I am writing to seek help, in how can I make my `email()` and `name()` methods, get the same id string from the `getID` method.
public static string getID()
{
string uri = "";
var document = XDocument.Parse(WRequest());
var href = document.Descendants("link").Single().Attribute("title").Value;
href = href.Replace("Issue", "");
string id = Regex.Match(href, @"\d+").Value;
return uri = id.ToString();
}
public static string email()
{
var url = "";
string uri = getID();
return url = uri;
}
public static string Name()
{
var url = "";
string uri = getID();
return url = uri;
}
Please advice further.
Thank you for y ...
Go to the complete details ...