Simple performance comparison c++/c#