The EULA that you agreed to when you installed Visual Studio is quite explicit. Not only do you own the rights to the code you develop using VS, you are required to explicitly claim copyright on your code.
One file you should review is redist.txt, it is copied to the installation directory. It lists the files that are owned by Microsoft that you are allowed to redistribute freely. All the essentials are there, like the .NET framework. Anything that is not in that list is not yours to use.
There is one specific exclusion in the EULA, you are not allowed to develop a product that can be used to allow your customers to access Internet resources for a fee. A bit of an odd-ball exclusion, I assume it is meant to suppress competition for a business segment that MSFT doesn't control.
Finally, as others have alluded, an "understanding" with your employer means squat when it is crunch time. Carefully review the employee contract you signed. It's been quite a while since I last saw one that didn't claim ownership of after-hours work. As well as "related" works produced after the end of the agreement for a certain period. IP is big, your brain is pwned.