I need help with a few questions
How would I program these in MS Visual studio .net:
1) DivisibleBy: Receives two positive integers. The first integer must be greater than the second. Return a zero-length string if this is not the case or if the integers are less than zero. Otherwise, the procedure will return a string containing all the numbers between 0 and the first parameter that are divisible by the second parameter with each number separated by a comma. For instance, if the arguments are 20 and 3 then the return string would be "3,6,9,12,15,18".
and this...
2) NumberOfTimes: Receives two strings and returns an integer representing the number of times the first string appears inside the second string. You cannot use the split method of the string object; however, the SubString and IndexOf methods should be quite helpful.