C# and java are great languages for both beginners and more experienced programmers and I would say stick with whatever you have started. There is at least one open source implementation of the .net framework:
Main Page - Mono. Also Logarithms, your code is isn't right.