title: .Net Framework underline implementation
body: <p>I wish to know how is the .Net framework implemented behind the curtains.</p>
  
  <p>In the WinApi, a call to WriteFile (kernel32.DLL) will end up calling NtWriteFile (ntdll.dll) that in turn will call KiSystemService that will invoke the system call that handles writing files.</p>
  
  <p>I wish to understand how is the process done when calling File.Write() in the .Net Framework.</p>
  
  <p>Does the .Net Framework eventually calls WriteFile in kernel32 ?</p>
  
  <p>Or does it skips over the WinApi and goes straight to work by invoking the system service by calling KiSystemService ?</p>
  
  <p>Thanks a lot.</p>