In C#, for anchor tags
string url = lists1[0].Url();
will yield the same result as
string url = ists1[0].GetAttribute("href");
NOTE: Both returns complete Url even if the href has relative path in anchor tag.
For
element.Url();
// returns http://mywebsite.com/profile/my-profile-id
element.GetAttribute("href");
// returns http://mywebsite.com/profile/my-profile-id