Creating a Simple C# Wrapper to clean up code
- by Tangopop
I have this code:
public void Contacts(string domainToBeTested, string[] browserList, string timeOut, int numberOfBrowsers)
{
verificationErrors = new StringBuilder();
for (int i = 0; i < numberOfBrowsers; i++)
{
ISelenium selenium = new DefaultSelenium("LMTS10", 4444, browserList[i], domainToBeTested);
…