#include and # include 'file'
What is the difference between #include and #include 'file'?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Dec 26, 2011, 5:57 AM
Satyapriya NayakPosted Dec 26, 2011, 2:07 AM
When writing your C program, you can include files in two ways.
#include searches the file in the specified list of directories.It is a build in file.
#include"file" searches the file in the current working directory as wel as in the specified list of directories.It is created by user.
Thanks
Priya LingePosted Dec 26, 2011, 1:27 AM
1) There is no include statement in C#. Like C++; C# goes by namespaces. Well, there is an, but it was meant for accessing XML comments in another file.
2)
Please check below link.
http://msdn.microsoft.com/en-us/library/9h8dy30z(v=vs.71).aspx
Thanks.