If anyone can think of a better way please let me know:
I have a windows form that displays different links to three sites: Yahoo Finance, Bloomberg and Merrill Lynch. Yahoo and Bloomberg both use a separate class that utilized HttpWebRequest
to return the headlines as links, but because ML is so secure, I had to create a separate class that uses WebBrowser
to stay logged in.
I'm going to use this class to retrieve a list of hyperlinks, but I'm not sure if I should do either of the following:
- Create two methods: One for the inner text of the links, and the other for the link addresses
- Design a link struct that can hold both values or
- Something I haven't thought of.