Click here to Skip to main content
15,885,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I have been learning .NET by it's libraries hence i need to know the exact library that communicates with operating system if somebody help me would be greatful for me, thanks in advance.
Posted

It is the CLR. More info at Wikipedia[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Sep-14 11:56am    
Fair enough, a 5,
—SA
CPallini 20-Sep-14 11:59am    
Thank you.
Um...pretty much all of it...

That's a "nonsense question" in a lot of ways. Yes, .NET is implemented as a set of libraries, but it's a Framework - it acts as a layer between the OS (or more specifically the OS API libraries) and the C# or VB code that you write. There is no one specific "bit" that communicates, because (for example) Control objects interact in many different ways : processing and sending windows messages for example, and calling OS libraries functions to perform specific tasks. And other classes interact with different bits in different ways.

And an application doesn't have to go via the .NET assemblies to do it - you can use DLLImport to directly access the same API functions that .NET does.

The is no .NET assembly that is the only communication interface.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Sep-14 12:00pm    
5ed. But the question is naive, but I could not dub it "nonsense". In certain sense, .NET, as any software product, has some (parts), and some are interacting with OS, and many don't (I don't count that all code is fed to a JIT compiler which itself uses OS calls). So, the question does make sense.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900