Since "IntPtr.Size" checks the size of int's pointer based on the current process, is it the same as "Environment.Is64BitProcess"?
If yes, why can I only see "return true/false" (if you use dnSpy to refactor the code from "System")?
If not, any differences between them? Where to use what?

In modern runtimes (net core)
Is64BitProcessis defined throughIntPtr.Size == 8. See sourceYou see
falsebecause you're inspecting 32-bit mscorlib. 64-bit is located inC:\Windows\Microsoft.NET\Framework64\v4.0.30319and always returnstrue