static void Main(string[] args) { SeperateClass.LoadUrlsAsync(); Console.ReadLine(); //record result and run again SeperateClassSync.LoadUrlsSync(); Console.ReadLine(); }
public void Call() { //Could be local variable. //Or, the professor could be implying that ClassBasedOnInterface has a SeperateClass //member that is used to make the call to GetRandomNumber(). //Or, GetRandomNumber() could be static. var seperateClass = new SeperateClass(); //I do not consider a private local variable a HAS-A relationship seperateClass.GetRandomNumber(); //hasASeperateClass.GetRandomNumber(); }