Skip to content

Instantly share code, notes, and snippets.

@DustinVenegas
Created March 12, 2014 19:10
Show Gist options
  • Save DustinVenegas/9514081 to your computer and use it in GitHub Desktop.
Save DustinVenegas/9514081 to your computer and use it in GitHub Desktop.
Get-A-Wider-Monitor-Mode
var inputs = loginPageDocument.DocumentNode.SelectSingleNode("//form[@name='someid']").SelectNodes("//input").ToDictionary(node => (node.Attributes["id"] ?? node.Attributes["name"]).Value, node => node.Attributes["value"] != null ? node.Attributes["value"].Value : string.Empty);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment