Hi all there,
I have doubt here ie; Which part of .NET communicates with Operating Systems and also how it differs from different operating systems if it does, Thanks in advance.
How .NET communicates with operating system?.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Sep 20, 2014, 12:58 PM EDT
It also provides the infrastructure - Platform Invoke and COM interop - whereby .NET applications can themselves interface with the OS or with other unmanaged code.
The Microsoft version of .NET only runs on Windows.
The Mono project's version runs on other operating systems including Linux and Mac OS X. Their version of the CLR is written in C and communicates with those OS's using the APIs they expose for systems programming.
Sam HobbsRank #107 · 20.5K reputationPosted Nov 22, 2014, 7:32 PM EST
The CLR (.Net) uses the Windows API. At the application programming (CLR) side nearly all of the Windows API is native DLLs. So .NET communicates with Windows using native DLLs. See the image in User mode and kernel mode for a better understanding of the relationship among applications, the Windows API and the Windows kernel.
Note that things are different for Windows 8 (Windows Store) applications. I am not sure how they work.