I am marking the above reply as answer for your post. If you think your post is not answered then you can always reopen the post by clicking on "Unmark as Answer" button on my reply.
FYI - These forums are meant for asking programming related questions. If you have any programming related questions in C# then you can post them in this forum.
what i know about this , you cant use(using) without adding reference to the name space , there are some references will be added by default to your project the IDE will add those references as soon as you create your project you can use those namespaces.
ok example system.Drawing reference is added by default to your windows application but not added to your console applications . so you can use System.Drawing in windows application but you can't in console application unless you add reference to that name space first then you can use it
in your solution explorer you will find a reference folder that contain all the referenced name spaces in your project if you want to use more you have to add references to them first
the previous explanation is not accurate, to be accurate those name spaces deliverd in Dll files the Dll file may contain more than one name space if you add referenct to the dll you can use all of its name spaces
reference and importing
Larry Surat
Hi kumar,
I am marking the above reply as answer for your post. If you think your post is not answered then you can always reopen the post by clicking on "Unmark as Answer" button on my reply.
FYI - These forums are meant for asking programming related questions. If you have any programming related questions in C# then you can post them in this forum.
Thank you,
Bhanu.
Habbit
hi,
what i know about this , you cant use(using) without adding reference to the name space , there are some references will be added by default to your project the IDE will add those references as soon as you create your project you can use those namespaces.
ok example system.Drawing reference is added by default to your windows application but not added to your console applications . so you can use System.Drawing in windows application but you can't in console application unless you add reference to that name space first then you can use it
in your solution explorer you will find a reference folder that contain all the referenced name spaces in your project if you want to use more you have to add references to them first
the previous explanation is not accurate, to be accurate those name spaces deliverd in Dll files the Dll file may contain more than one name space if you add referenct to the dll you can use all of its name spaces
hope this helps