5
Reply

c#

Ask a question
vidya

vidya

11y
880
1
Hi 
Why isn't 'using System' sufficient to write all the programs in c#? Why do i need to add different namespaces according to my requirement? For example if i want to use xmlelement I need to use system.xml namespace. Isn't system.xml a part of system namespace? If yes, then why do I need to mention 'using System.xml' along with 'using System;?

Answers (5)