Why did unreal engine use c++ not c#

why did unreal engine use c++ not c# i heard c# is better for game development

Hello Aws97,

There are many reasons, but it would be best to take a look at this post by Sweeney to see an explanation of why we use C++ in UE4.