Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,
Can anyone tell me the difference between API and DLL.
Also tell there implementation. How to use it in C#.NET

thanks in advance
Posted
Updated 7-Feb-12 18:58pm
v2
Comments
Sergey Alexandrovich Kryukov 8-Feb-12 0:56am    
The question makes no sense whatsoever.
--SA
Rajesh Anuhya 8-Feb-12 1:08am    
Not a Clear Question.
--RA

Totally pointless question. If someone manages to "answer" this invalid question (which cannot be reasonably answered of course), it won't help you.

Why invalid?
Please see this: what is the difference between the class and encapsulation in programming[^].

You need to understand that words or "answers" do not mean knowledge. Could this discussion on good or valid questions help? See:
How to ask a good question?[^]

See also:

http://en.wikipedia.org/wiki/API[^],
http://en.wikipedia.org/wiki/Dynamic-link_library[^],
http://en.wikipedia.org/wiki/Shared_library#Shared_libraries[^],
Peter Norvig, Teach Yourself Programming in Ten Years,
Microsoft Q209354.

—SA
 
Share this answer
 
v4
Comments
Uday P.Singh 8-Feb-12 1:04am    
Fair reply to a stupid question 5+
Sergey Alexandrovich Kryukov 8-Feb-12 1:07am    
Thank you, Uday, but please remember: I did not say that, you did :-)
--SA
Hi Sir,

API is application programming interface is a set of routines, data structures, object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.

DLL is Dynamic-link library, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers).

Therefore, Dll is assembly file which hold data structures, object classes.
API is the located in Dll also.

You can visit this link for more details:
http://en.wikipedia.org/wiki/API
http://en.wikipedia.org/wiki/Dynamic-link_library

I hope this one can help.

Thank You.
 
Share this answer
 
 
Share this answer
 

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