private Collection<Web.GithubJsonItem> GetBranches(Web.GithubClient ghc, String Owner, String Repository) { lblStatus.Text = "Getting branches, please wait..."; Application.DoEvents(); Collection<Web.GithubJsonItem> rtn = null; rtn = ghc.GetBranches(Owner, Repository); lblRateLimit.Text = ghc.RateLimitRemaining.ToString(); return rtn; }