why is "using system.text" needed after "using system"."using system" should use all related files too...
how does "using" actually work and what does the "." mean in "system.text"?
Loading
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.
Afzal PawaskarPosted Nov 20, 2010, 2:45 PM
Oh i thought the using statements where the csharp equivalents of the #include statements i used in C++
Now i realize that adding references is the real deal...
Using statements are just for our convenience
Pretty informative link by the way
Thanks....
Mamta MPosted Aug 30, 2010, 5:51 AM
http://www.brainbell.com/tutors/C_Sharp/Namespaces_and_the_using_Directive.htm
As for System and System.Text, by writing
using System;
you will be able to use the classes defined in the System namespace. But System.Text is again a namespace so you need to import that separately through another using statement.