Than now it is possible to protect the code from decompilation, various debbagers, for example dnSPY.
Is it possible to obfuscate the code, and what is the best way to do this?
Licensed as always. Do you really think that some somersaults with the code will protect it from hacking? If yes, then look in the direction of the realtime online confirmation server, as in online games.