Hi DXs,
I am a newbie for .NET. a question for your guys.
I compiled a c# file to .exe file.
> csc myprogram.cs
I got myprogram.exe
Based on the document of .NET, I thought the .exe should be a PE (portable exe) file, which can be only executed on Runtime. But I was confused that I can run it directly in command environment just like a native .exe file.
My question is the .exe file is a PE (MSIL and metadata) or native exe file. If the .exe is PE file, does that mean Windows (with .NET framework installed) can recognize a PE file and load runtime to run the .exe?
Any help will be appreciated.
I am a newbie for .NET. a question for your guys.
I compiled a c# file to .exe file.
> csc myprogram.cs
I got myprogram.exe
Based on the document of .NET, I thought the .exe should be a PE (portable exe) file, which can be only executed on Runtime. But I was confused that I can run it directly in command environment just like a native .exe file.
My question is the .exe file is a PE (MSIL and metadata) or native exe file. If the .exe is PE file, does that mean Windows (with .NET framework installed) can recognize a PE file and load runtime to run the .exe?
Any help will be appreciated.